|
|
On Tue, 30 Nov 2021, 13:47 'Mark' wrote:
I want to have a row of buttons like this:
[New] [Options] ...gap... [About] [Help] ...gap... [Quit]
Where the first two are aligned to the left of the parent window, the middle two are in the middle of the row and the last one is on the right. And of course I want them to keep these relative positions when the window is resized.
Can this be done with pack or flex?
It's easier to do this with the fltk default layout mechanism, actually.
The problem with that is that, until you get your head around how it works, it's *really hard* to figure out.
I'm not keen on pack, FWIW.
If I find time I'll post an illustration later... -- Ian From my Fairphone FP3
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6dZXPVjowFs_315ASpP4N1_Yfx%2B3QFGSTT3WYDU7rNE2EQ%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |