queue resize on child when its position changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -340,8 +340,12 @@ gtk_pizza_set_size (GtkPizza *pizza,
|
||||
|
||||
if (child->widget == widget)
|
||||
{
|
||||
child->x = x;
|
||||
child->y = y;
|
||||
if (child->x != x || child->y != y)
|
||||
{
|
||||
child->x = x;
|
||||
child->y = y;
|
||||
gtk_widget_queue_resize(widget);
|
||||
}
|
||||
|
||||
gtk_widget_set_size_request (widget, width, height);
|
||||
|
||||
|
Reference in New Issue
Block a user