On 5/6/26 11:29 Lucas Sanner wrote:
> So I think my best bet is to leave the window behavior as it is but to
> make all the widgets inside not resizable and start the application in
> full size (maximize).
Even full size / maximize is not a constant size. It *obviously* depends
on the screen size, hence you will have to construct your GUI in a
certain size and resize it appropriately anyway. Unless you make it like
1024 x 800 and keep it that small which is not really an option. See
below for more.
> The users trying to resize the app will quickly realize that it's
> pointless.
I don't know how your GUI looks, but maybe you could base your layout on
the new widget (container) Fl_Grid (since 1.4). It allows you to resize
its children in a very flexible way. Just an idea, but maybe not
applicable to your case. I just wanted to mention it.
A good example of Fl_Grid can be found in test/cube.cxx, along with a
layout sketch. You can run the demo program and see how its layout
resizes when the window is resized by the user. If necessary you can
even nest more than one Fl_Grid for special needs. If you have questions
about how to use it, RTFM ;-) and feel free to ask here again.