Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2008
    Location
    Berlin
    Posts
    25
    Vote Rating
    0
    madmaxmatze is on a distinguished road

      0  

    Default [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)

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You have to use a Viewport.

    Code:
    Viewport v = new Viewport();
    v.add(new BorderLayoutContainer());

  3. #3
    Sencha User
    Join Date
    Mar 2008
    Location
    Berlin
    Posts
    25
    Vote Rating
    0
    madmaxmatze is on a distinguished road

      0  

    Default


    Vielen Dank!

  4. #4
    Sencha User
    Join Date
    Mar 2008
    Location
    Berlin
    Posts
    25
    Vote Rating
    0
    madmaxmatze is on a distinguished road

      0  

    Default


    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