sp2.setSplitPosition(255, Sizeable.UNITS_PIXELS);\r
\r
Panel p = new Panel("Accordion Panel");\r
- p.setHeight(100);\r
- p.setHeightUnits(Sizeable.UNITS_PERCENTAGE);\r
+ p.setSizeFull();\r
\r
tab = new TabSheet();\r
- tab.setWidth(100);\r
- tab.setWidthUnits(Sizeable.UNITS_PERCENTAGE);\r
- tab.setHeight(740);\r
- tab.setHeightUnits(Sizeable.UNITS_PIXELS);\r
+ tab.setSizeFull();\r
\r
Panel report = new Panel("Monthly Program Runs", new ExpandLayout());\r
OrderedLayout controls = new OrderedLayout();\r
table.setColumnCollapsingAllowed(true);\r
table.setColumnReorderingAllowed(true);\r
table.setSortDisabled(false);\r
- table.setWidth(100);\r
- table.setWidthUnits(Sizeable.UNITS_PERCENTAGE);\r
- table.setHeight(100);\r
- table.setHeightUnits(Sizeable.UNITS_PERCENTAGE);\r
+ table.setSizeFull();\r
table.addStyleName("table-inline");\r
sp2.setSecondComponent(table);\r
\r