FLTK logo

Re: [fltk.general] Re: [Fl_Flow] A new layout manager for FLTK

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: [Fl_Flow] A new layout manager for FLTK Karsten Pedersen Oct 29, 2021  
 
On Friday, October 29, 2021 at 9:36:14 PM UTC Albrecht Schlosser wrote:
I think what Bill meant was the *maximum* (not minimum) size of all outside labels (and I may add: in the same "column"). That would mean that you reserve space for all labels at the left side of the Fl_Flow widget to place the outside labels and align the widgets right of the labels in one "column".

Yep, I understand this one. A specific example is the Fl_Input widget with a label. I will see if I can get this to work. If I can calculate a bounds of the widget and label, I don't see this as an issue.

I was referring to this line earlier from Bill:
> 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.

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.

--
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/494aac4f-34e0-4c3f-b828-49ad65bb3d9cn%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.