|
|
On Sun, 2 Oct 2022 at 23:01, Gonzalo wrote:
>
> I have used Fl_Pack in the past and I always struggle with its behavior.
>
> In the sample attached demo program I have an Fl_Pack that contains an Fl_Gl_Window widget and a normal Fl_Group inside an Fl_Pack.
>
> I would like the Fl_Gl_Window widget to stretch and fill the Fl_Pack whenever the Fl_Group is hidden when the Hide button is clicked. How can I do that?
>
Hi Gonzalo,
FWIW, I've never been able to get along with the default behaviour of
Fl_Pack, so tend to go with something like Greg's suggestions of
putting things in a group and managing the resize directly as widgets
get added / remove.
Though TBH I never know about the "special" treatment for the "Last"
pack widget - if I had that might have helped a few times!
--
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/CAGFM6dZF5DU7Oi3XirDkmCjzuzWhxqjQJLtZ%3Dq7ECaKpMJ2uEw%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |