1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    22
    Vote Rating
    0
    hrishirise is on a distinguished road

      0  

    Default Simplecontiner and layout

    Simplecontiner and layout


    Hi,
    I read the java doc http://dev.sencha.com/deploy/gxtdocs/ . Where Viewport is inheriting from "SimpleContainer ".
    It says
    "SimpleContainer takes one child and sizes it to match the container size.".


    Is this the case?If no, then can i add multiple childern to View port? Will it cause problems in layout design with new Ext gwt 3.0 x release?

    Please do let me know

  2. #2
    Sencha User rohdef's Avatar
    Join Date
    Mar 2010
    Location
    Aarhus, Denmark
    Posts
    67
    Vote Rating
    3
    rohdef is on a distinguished road

      0  

    Default


    It only supports one child. I'm not sure how multiple children will make sense for this. After all, what layout would you expect it to use? Border? Card? Vertical? Most likely, you will have to make a viewport containing for instance BorderLayoutContainer for the actual contents.
    Last edited by rohdef; 8 Feb 2012 at 1:29 AM. Reason: More precise information

Thread Participants: 1