diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-02-19 21:36:33 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-02-19 21:36:33 +0100 |
commit | 6f3f80c89aa75d98ca4ed09dc4e74fd63bafd579 (patch) | |
tree | f195d825d943a782af88c03885be772e64a9684b /plugins | |
parent | f124507c6b64bcc8a2d1b36f8f0b4047044a2292 (diff) |
gtkui: fixed sizing issues of hvbox children in design mode
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gtkui/widgets.c | 2 |
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); |