-
October 25th, 2020, 02:44 #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,
MBMRuleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
October 26th, 2020, 23:45 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,539
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)
Bookmarks