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  
 
Hi,

One thing I would like to see is support for "outside" labels to produce nice columns. If a whole bunch of widgets with outside-left labels are pushed to the left, they should instead be positioned so the label fits, and the maximum size of all the labels is used for this.

Ah, good point, I didn't think of this one. I will see if I can include these outside labels as part of the widget bounds when I process / transform them.

It would be nice to compute a minimum size to fix the layout issue with #9 above.

As far as I can tell, FLTK widgets don't have a minimum size? I.e Fl_Buttons, etc. Potentially if they all had a default constructor that set this size would make it even more convenient for Fl_Flow because it wouldn't need to be set in i.e an initializer list.

Though in general, whatever size they have been given before they get added to Fl_Flow should be their minimum size since there is no "flow" instruction to shrink, only grow. Unfortunately as you may have seen they don't really do much more with that information other than just get stuck at the bottom corner with their minimum size :/

Thanks,

Karsten
 

--
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/63d79a4f-bf42-436c-bed5-2bc02168069fn%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'.