|
|
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. ;-)
Yes, that seems to do the trick, and works if box C is wider than box A so the overall layout is not symmetrical. I think the padding's correct too. I was sure that knowledge of the resize code would help :-)
D.
PS. Sorry for the top-posting before, I forgot to expand the ellipsis ... :-(
--
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/b984acb0-74e7-4f78-a311-8ddfe9d0f439n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |