FLTK logo

Re: [RFE] STR #3092: Fl_Pack: add right-to-left and bottom-to-top packing

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.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [RFE] STR #3092: Fl_Pack: add right-to-left and bottom-to-top packing Greg Ercolano Dec 06, 2021  
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: https://www.fltk.org/str.php?L3092
Version: 1.3-feature


Just to add: the "appealing" thing about Fl_Pack, IIRC, is how it works in
combo with a parented Fl_Scroll, making it different from any other
grouping widget (even Fl_Grid?) in that it resizes itself to "shrink-wrap"
around its children, so that a parent Fl_Scroll's scrollbars only appear if
the pack (and its children) extend outside the Fl_Scroll's xywh area after
the shrink-wrapping (resizing) process completes.

Does Fl_Grid solve this situation? If so that's interesting. I imagined
Fl_Pack was kinda unique in how its size is affected in an automated way by
its children.


Link: https://www.fltk.org/str.php?L3092
Version: 1.3-feature


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'.