aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2007-10-16 13:53:05 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2007-10-16 13:53:05 +0000
commit7fc77511a074ccd551a10056a16ae568253bb0d4 (patch)
treef7c507ce5a8b565442027db2094cc527d4cb209b /src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
parent3ffcac2404bcc6ee8bd2509ebefb9daae812f64f (diff)
downloadvaadin-framework-7fc77511a074ccd551a10056a16ae568253bb0d4.tar.gz
vaadin-framework-7fc77511a074ccd551a10056a16ae568253bb0d4.zip
-All component stylenames now get prefixed with component base stylename.
-runAnchestorsLayout -> runAncestorsLayout (grammar-fix). -IPanel stylename conventions changed (again). Now all additional stylenames are added to the panel, e.g. addStyleName("red") + addStyleName("green") -> .i-panel .i-panel-red .i-panel-green - ^ same for ITabsheet. -Layout padding convention changed (again). Now by default only Panels and TabSheets have padding, and they can remove that padding by using a constant stylename (Panel.STYLE_NO_PADDING and same for TabSheet). -IWindow styles altered a bit (now able to move Window in IE6 also :)). svn changeset:2527/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java')
-rw-r--r--src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
index de23643681..7bfe7628ba 100644
--- a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
+++ b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
@@ -50,12 +50,14 @@ public class TestForBasicApplicationLayout extends CustomComponent {
Panel p = new Panel("Accordion Panel");
p.setHeight(100);
p.setHeightUnits(Panel.UNITS_PERCENTAGE);
+ p.addStyleName(Panel.STYLE_NO_PADDING);
tab = new TabSheet();
tab.setWidth(100);
tab.setWidthUnits(Sizeable.UNITS_PERCENTAGE);
tab.setHeight(740);
tab.setHeightUnits(Sizeable.UNITS_PIXELS);
+ tab.addStyleName(TabSheet.STYLE_NO_PADDING);
Panel report = new Panel("Monthly Program Runs", new ExpandLayout());
OrderedLayout controls = new OrderedLayout();