Results 1 to 2 of 2

Thread: Simplecontiner and layout

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    22
    Vote Rating
    0
      0  

    Default 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
    5
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •