Understanding the Layout Tool

Follow

Comments

6 comments

  • Avatar
    wiltshirevehicle

    Is there a way to group widgets? I have buttons which are on a 'border' which is a text box without the text. The only way these buttons and border stay in proportion with one another on larger screen sizes is if they are either fixed top or fixed bottom, but this does not look good. Having the border and buttons as 'fixed top and bottom' lead the buttons to overlap each other. Having the border 'fixed top and bottom' and the buttons 'proportional' leave too much space above and below the buttons. Having the border and buttons both as 'proportional' lead to the border being too small for the buttons. I have attached an image to help explain what I mean. I want the buttons and border to be central in the page, but not to be stretched. Is this possible?




    Untitled.png
  • Avatar
    kieron

    Hi wiltshirevehicle,

    What I'd do is create a VScrollArea widget, and copy & paste your button group inside that. As long as the inner height of the VScroll is the same as the external height, it won't be scrollable - and you can then position the entire widget (and it's contents) relevant to the screen.

    Hope that helps.

  • Avatar
    wiltshirevehicle

    That's perfect, thank you!

  • Avatar
    Andreas Arvidsson

    Hi!

    I there a way to change the order of widgets by code?

  • Avatar
    kieron

    Hi Andreas,

    There's not a way to do that, no. What are you trying to achieve? As we may be able to come up with an alternative solution?

  • Avatar
    Andreas Arvidsson

    No worries. I solved it.

     

    Andreas

Please sign in to leave a comment.

Powered by Zendesk