You probably should submit a feature request.

On Wednesday, July 28, 2010 11:36:15 AM UTC-4, rvns-pats wrote:

> 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to