> It would be nice to compute a minimum size to fix the
layout issue with #9 above.
I think perhaps this was to address your (9), widgets
sticking to bottom right if the window is too small. Perhaps
if we could calculate the minimum size we could make the
Fl_Flow widget from its contained widgets, we could do
something with that. Perhaps we could even compute the minimum
window size from that.
Ah, yes, I probably misunderstood. But anyway, I would definitely
not let the Fl_Flow widget make child widgets smaller than the
programmer designed. This would never work. Think of a still empty
input widget. What would be its minimal size? Only the program
author may have a clue. No, no, as I said before: if it's too small,
it's too small. The only thing we could do is not to hide widgets if
they don't fit entirely.
Obviously one complexity arises because depending on one
dimension the window may not collide in the other dimension.
You could end up with a smaller window, but one that is shaped
in a way that no widgets collide.
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'.