Thanks a lot for reminding of the contracts for layout panels to be
satisfied with.

Why does TabPanel encounter the same problem? Does it strictly belong
to layout panels?

What makes me more puzzled is that both TabLayoutPanel and TabPanel
sporadically bring the contained widgets to forground by default.

On May 21, 11:56 am, Thomas Broyer <[email protected]> wrote:
> On Monday, May 21, 2012 11:50:32 AM UTC+2, fg wrote:
>
> > GWT 2.4
>
> > public void onModuleLoad() {
>
> > TabLayoutPanel tabLayoutPanel = new TabLayoutPanel(2.5, Unit.EM); //
> > or using TabPanel instead
> > tabLayoutPanel.add(new Label("hi"), "tab");
> > RootPanel.get().add(tabLayoutPanel);
>
> > }
>
> > It only shows the tab, but the label (or other kind of widget under
> > test) is invisible. Why?
>
> Layout panels (RequiresResize) should go into other layout panels
> (ProvidesResize) or be given explicit size.
> Seehttps://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels...

-- 
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.

Reply via email to