FLTK logo

Re: [MOD] STR #2639: Fl_Pack resizes hidden widgets, which it doesn't touch when visible.

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: [MOD] STR #2639: Fl_Pack resizes hidden widgets, which it doesn't touch when visible. Matthias Melcher Jan 23, 2023  
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link:         https://www.fltk.org/str.php?L2639
Version:      1.4-feature
Fix Version:  1.4.0
Git Commit:   3a7c9fe9781067075c38393b6599d8095a777483
Assigned To:  matt

Fixed in Git repository.

tl;dr I fixed this by overriding Fl_Pack::resize() to go around the side
effects of Fl_Group::resize()

I also fixed some FLUID issues around Fl_Pack and cleaned up the source
code a little bit.

There is quite a big issue with Fl_Pack when drawing. It's basically
impossible to set any frame of box type without messing everything up and
making things unreadable. But that is some fun for another day.


Link:         https://www.fltk.org/str.php?L2639

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