|
|
On 11/21/20 11:10 AM duncan wrote:
I played around with your example and found it still worked if I increased
the width of the window and box C so that A and C are not symmetrical,
but once you introduce padding between the boxes, things go a bit awry.
See the attached, where I've also moved/coloured box I to make it visible.
The fix might be obvious to you if you've been looking at the resize code.
If you want padding between the boxes I suggest to add another group
around box C and make box C the resizable in this box. If I understood
you correctly.
See attached r2a.cxx with my solution (again, if that's what you wanted
to achieve). The groups are now colored (red and green). I'm aware that
the padding is not equal everywhere but I'm leaving this as an exercise
to the reader. ;-)
--
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/c01559c6-3127-3e21-b35c-f1101f1ef6d5%40online.de.
[ Direct Link to Message ] | |
|
| |