|
|
@Albrecht-S
I tested your .fl and looks the Fl_Flex can do what I exactly want, thanks!
A widget more friendly to arbitrary xywh is convenient, like in following situation:
- users in a team defines many types of widget class individually, in many files, like:
widget_class_derived_1.fl
widget_class_derived_2.fl
widget_class_derived_3.fl
widget_class_derived_4.fl
...
- another person write an
mainwindow gui can dynamically load one of above widget class. In the mainwindow.fl it can not know what's the exact size (or size range) that all thoese widget_class_derived_<n> would have, because it's not written by him/her, the mainwindow.fl reserves a fixed size room and hope widget_class_derived_<n> can work well in the room. and can rescale if widet_class_derived_<n> has bigger size than reserved room.
Hope I expressed clear enough to be understood, for now I will migrate to use Fl_Flex .
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/pull/481/c1214443071@github.com>
[ Direct Link to Message ] | |
|
| |