i was previously using gwt 1.6
in which i was using DecoratedTabPanel which was working properly.
but now i am migrating it in gwt2.0
in which i can't use it. So i am using TabLayoutPanel.
code in Widget.ui.xml is,
<gwt:TabLayoutPanel ui:field="searchTab"
barHeight="25" barUnit="PX" height="16PC" width="50PC">
<gwt:tab>
<gwt:header>Search</gwt:header>
<gwt:VerticalPanel ui:field="fltVertPanel">
<gwt:FlexTable ui:field="flexTable2"></gwt:FlexTable>
</gwt:VerticalPanel>
</gwt:tab>
</gwt:TabLayoutPanel>
and in
java file,
@UiField
TabLayoutPanel flightSearchTab;
@UiField
FlexTable flexTable2;
@UiField
VerticalPanel fltVertPanel;
my flex table contains all textboxes and all which get added dynamically on clicking some buttons
which increase height. but as height of TabLayoutPanel does not increase.
it get invisible.
so i want to increase height of TabLayoutPanel also on run time.