Results 1 to 3 of 3

Thread: advanced layouting

  1. #1
    Sencha User
    Join Date
    Jan 2011
    Location
    US
    Posts
    18

    Default advanced layouting

    How can you visually add an hbox inside of vbox visually using architect? I have been trying to figure this out but not seeing how or is this only accomplishable through overrides?

  2. #2

    Default

    I'm not sure I understand what you mean... do you mean you want a container with vbox layout, and one of its children is a container with hbox layout? This is quite straightforward to do in Architect by setting those layouts on the appropriate items. Or do you mean something else?
    Jason Johnston
    @lojjic
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Location
    US
    Posts
    18

    Default

    yes, i now see how i can stack them within each other. Seems like you have to create a new container each time. I was assuming there was some property thats not displayed that will allow you to choose the order. thanks

    Code:
    var header = new Ext.Panel({
        height: 35,
        padding: '10 20 0 20',
        layout: {
            type:'hbox',
            align:'start'
        },
        items: [
            dot,
            {
                xtype: 'component',
                flex: 1
            },
            next
        ],
     
    });

Posting Permissions

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