From c76cddf4fd8110248d4a388d29e3e4c58cecc0e4 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 25 Jan 2016 12:23:04 +0300 Subject: [GTK+3] fix vertical expand of widgets on side pane --- mate-dictionary/libgdict/gdict-speller.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mate-dictionary/libgdict/gdict-speller.c') diff --git a/mate-dictionary/libgdict/gdict-speller.c b/mate-dictionary/libgdict/gdict-speller.c index 9b151994..1f42f223 100644 --- a/mate-dictionary/libgdict/gdict-speller.c +++ b/mate-dictionary/libgdict/gdict-speller.c @@ -317,6 +317,9 @@ gdict_speller_constructor (GType type, gtk_widget_push_composite_child (); sw = gtk_scrolled_window_new (NULL, NULL); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_widget_set_vexpand (sw, TRUE); +#endif gtk_widget_set_composite_name (sw, "gdict-speller-scrolled-window"); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, -- cgit v1.2.1