|
|
On Thursday, 17 November 2022 at 12:41:02 UTC oletter... wrote:
How to prevent stretching/shrinking of dynamically added widgets on window resize?
Might be useful to us to have more context for what you are actually doing; do you have some small, compile-able code samples, for example, that would illustrate what you are doing, and perhaps some descriptions of what effect you want to attain...
In general, if no widget in a container (i.e. a group or window, usually) is identified as the resizable, then any resizing it shared out amongst all the widgets.
The "usual solutions" are to either make the window non-resizable, or to assign a widget to "consume" the resizing (sometimes a hidden widget in the group is used to achieve this.)
There's a How-To that might help a bit : https://www.fltk.org/articles.php?L415
--
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/a4572817-3498-4ed6-a2bd-4bf505eb7f8an%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |