PF2E Playlist
  1. #1

    Show more items in one line if the window is made wider

    Greetings,

    Another one from me, hopefully this is possible.

    I have a subwindow, inside it I have a series of controls.

    XX|YY XX|YY XX|YY XX|YY XX|YY
    XX|YY XX|YY

    Now what I want is if the window is made wider, then the items from line 2 appear in line 1

    XX|YY XX|YY XX|YY XX|YY XX|YY XX|YY
    XX|YY

    And if the window is made wider, then all are on the one line

    XX|YY XX|YY XX|YY XX|YY XX|YY XX|YY XX|YY

    Normally with HTML you'd make relate them and they'd move about depending on how much space they have. I need this.

    Is it possible?

    And if so, is it possible to shrink the frame they're in, or link the frame height based on the subwindow?

    Cheers,
    MBM

  2. #2
    It can be done; but there is no layout code in FG that will do it for you automatically. You'd have to do all your own calculations based on onSizeChanged events at the window instance level.

    Alternately, you could use a list with "fillwidth" tag set to do something similar; but all the child controls would need to be nested in list child windows.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Log in

Log in