testgtk: Actually expand the scrolled window

This commit is contained in:
Benjamin Otte 2017-08-02 00:23:43 +01:00
parent 7297aeb54c
commit 29b0954c45

View File

@ -8362,6 +8362,7 @@ create_main_window (void)
gtk_widget_set_name (label, "testgtk-version-label"); gtk_widget_set_name (label, "testgtk-version-label");
scrolled_window = gtk_scrolled_window_new (NULL, NULL); scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_widget_set_vexpand (scrolled_window, TRUE);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_NEVER, GTK_POLICY_NEVER,
GTK_POLICY_AUTOMATIC); GTK_POLICY_AUTOMATIC);