|
|
> 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 ] | |
|
| |