I have had a little bit of time to port a layout manager we use for an internal UI system to FLTK. It may seem a little weird to use at first but it allows for extremely quick layout and prototyping. It was originally designed to quickly hack together UIs for ever-changing scientific research tools. However it started to become a preferred layout system for everything because it was quick easy and maintainable.
So please do give it a go if you have time. Or at the very least have a skim through the tutorial on the main project page to see if it may be useful to you.
https://github.com/osen/Fl_Flow
A random list of features:
- Single .h file (include/FL/Fl_Flow.H, mostly to make it easy to try out)
- Works via instructions rather than absolute coordinates
- Resizes well due to the instruction nature
- Very flexible, it is rare you need nesting to achieve any desired layout
- Supports centering content
- No tools needed
- Well integrated into FLTK. Can mix and match with other layouts
I hope someone finds it useful. Personally I feel it makes GUI development fun again.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.