-
13 Jul 2011 7:21 AM #1
[CLOSED] Full Screen BorderLayoutContainer
[CLOSED] Full Screen BorderLayoutContainer
I can't figure out how to force the BorderLayoutContainer to be full screen/consume all its parents space, like: http://www.sencha.com/examples-dev/#...e:borderlayout
Instead of: con.setPixelSize(800, 400);
I was looking for somthing like: con.setSize("100%", "100%");
(setAutoHeight and setAutoWidth aren't as well no solution)
-
13 Jul 2011 7:22 AM #2
You have to use a Viewport.
Code:Viewport v = new Viewport(); v.add(new BorderLayoutContainer());
-
13 Jul 2011 8:10 AM #3
-
14 Jul 2011 9:16 AM #4
Another question: Where can I find out how and which tags need to be used and structured for the UiBinder declaration, based on existing java code? Current example: I just can't find out how to translate the following TabPanel code:
TabPanel tabPanel = new TabPanel();
HTML shortText = new HTML("Content 1");
tabPanel.add(shortText, "Tab 1");
HTML longText = new HTML("Content 2");
tabPanel.add(longText, "Tab 2");
panel.add(iconTab, config);
... a general answer, which can also be aplied to other Components, whould be great!!
Thanks
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote