Hey,
Thanks for your quick reply.
So, I already had the CSS rule for TabLayoutPanel set to 100%. I can see it
in "Inspect Element" tool of Chrome.
I'm not sure if using the SplitLayoutPanel (or DockLayoutPanel) would be
okay in my situation, as the their center panel only accept one child
widget. And I will eventually need to have more than 2 TabLayoutPanel
(something like 10 on the same page, one per result, and opened when
clicking the "Show details" link of a result). Am I wrong, should I really
use it?
I tried with the HTMLPanel in my module load:
HTMLPanel html = new HTMLPanel("");
html.setWidth("550px");
html.add(createResult());
html.add(createResult());
RootLayoutPanel.get().add(html);
And in the createResult method:
- When: [ResizeLayoutPanel] detailsContainer.setHeight("100%"); --> it does
show the first TabLayoutPanel on the resulting page, but not the second.
- When: [TabLayoutPanel] details.setHeight("100%); --> I can only see the
tabs title, but not the tabs content.
Thanks,
MChan
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/jacRfjQiapQJ.
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.