FLTK logo

[fltk.coredev] Re: Fl_Flex subtle bug

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

Re: Fl_Flex subtle bug Gonzalo Garramuno Oct 19, 2022  
 

> El 19 oct. 2022, a las 09:54, Gonzalo Garramuno <ggarra13@gmail.com> escribió:
> 
> Currently, Fl_Flex’s set_size(Widget*, int size ) cals w->resize(0,0,size,size).  This is problematic when the widget is hidden as it can create refresh problems once is shown(), as the coordinates will stay at 0,0 briefly.
> The solution is to call the Widget’s w->size( size, size ); instead, so that the Widget’s coordinates are not reset.
> 

I also created a PR request:

Fixed 0,0 resize of widget which could lead to drawing issues... #518

—
Gonzalo Garramuno
ggarra13@gmail.com




-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/F1BBFC09-876F-4543-ACBB-072B5C775017%40gmail.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'.