|
|
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. ;-)
The attached files can be dropped into the test directory and compiled with fltk-config, and are in the style of the existing resize examples. The #include resize-arrows.cxx for ease of fltk-config build which would need to be changed if they become official test/documentation examples.
After tweaking these blindly for a while, they should probably be changed to remove the padding completely, because I can't quite get it to work as expected. I think that you actually need some more groups within the C group to handle the padding as invisible boxes...
D.
--
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/6f3d149e-5bc3-43f0-82cf-2a41074c7642n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |