#863: Fixes Fl_tile resize behavior when scaling window

This commit is contained in:
Matthias Melcher 2023-12-12 22:07:31 +01:00
parent 04cf2c4c7d
commit 32b10cb626

View File

@ -573,8 +573,11 @@ void Fl_Tile::resize(int X,int Y,int W,int H) {
}
int tr = x() + w(), tb = y() + h();
move_intersection(tr, tb, tr-dw, tb-dh);
Fl_Widget::resize(X,Y,W,H);
init_sizes();
if (Fl_Window::is_a_rescale())
Fl_Group::resize(X,Y,W,H);
else
Fl_Widget::resize(X,Y,W,H);
return;
}