summaryrefslogtreecommitdiff
path: root/plugins/gtkui
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-02-19 21:36:33 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-02-19 21:36:33 +0100
commit6f3f80c89aa75d98ca4ed09dc4e74fd63bafd579 (patch)
treef195d825d943a782af88c03885be772e64a9684b /plugins/gtkui
parentf124507c6b64bcc8a2d1b36f8f0b4047044a2292 (diff)
gtkui: fixed sizing issues of hvbox children in design mode
Diffstat (limited to 'plugins/gtkui')
-rw-r--r--plugins/gtkui/widgets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/widgets.c b/plugins/gtkui/widgets.c
index 4ba5b2e3..ac389edf 100644
--- a/plugins/gtkui/widgets.c
+++ b/plugins/gtkui/widgets.c
@@ -616,8 +616,8 @@ w_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_da
GtkAllocation a;
gtk_widget_get_allocation (widget, &a);
- gtk_widget_set_size_request (widget, a.width, a.height);
gtk_container_foreach (GTK_CONTAINER (widget), hide_widget, NULL);
+ gtk_widget_set_size_request (widget, prev_req.width, prev_req.height);
}
gtk_widget_set_app_paintable (widget, TRUE);