On 27 Oct 2011, at 16:57, Jim Jozwiak wrote:

> NUT is a huge application from I have excerpted only two rows and and a 
> single "column" from a single screen in order to show the error.  Each 
> row is a horizontal pack, the column is a vertical pack.
> 
> Packs only resize all their contained widgets if set to resizable.  If I 
> can't set the inner horizontal packs to resizable, then the widgets the 
> inner packs contain won't resize.
> 
> Ultimately, my application depends on widgets that appear to retain 
> their position although in the actual code, wizards are changing.
> 
> Are you telling me that nested packs aren't allowed to be resizable?

No, I was trying to say I was struggling to visualize what it is that you are 
trying to achieve with Fl_Pack.

In particular, based on my (limited and presumably flawed) understanding of the 
description you gave, I wonder if you need the packs at all.

A simple Fl_Group will scale it's children as it resizes, retaining their 
relative positions and dimensions in proportion to the initial layout, so by 
judicious use of groups (nested or otherwise) I *think* you can get the desired 
effect more simply than you are currently doing.

So, anyway, Fl_Pack may be overkill, and I find them tricky to use.
Fl_Group is simpler to use and for most purposes I find it a much more amenable 
widget to work with...

But, as I say, I'm probably completely missing the point of your question and 
there may be a genuine need for Fl_Pack in your usage.






_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to