Hi All,
I am trying to hide and show some panels with in a TabLayout Panel
at runtime.
I have the following code in my UiBInder
<g:TabLayoutPanel ui:field="myTabPanel">
<g:tab >
<g:header>Tab1</g:header>
<g:FlowPanel ui:field="tab1Panel" height="100%"
width="100%"></
g:FlowPanel>
</g:tab>
<g:tab >
<g:header>Tab2</g:header>
<g:FlowPanel ui:field="tab2Panel" height="100%"
width="100%">
</g:FlowPanel>
</g:tab>
</g:TabLayoutPanel>
And in the View i have..( passing either true or false based on
whether i want to show the second tab or hide it.
myTabPanel.getTabWidget(1).setVisible(true);
And it's not hiding the tab properly..
Any comments..
Thanks..
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.