tests: Make stack expand

This is to test invisible children are actually resized before they are
made visible (which they currrently are not.
This commit is contained in:
Benjamin Otte 2015-11-04 19:10:16 +01:00
parent 894bd13240
commit c580a9d01f

View File

@ -135,6 +135,7 @@ main (gint argc,
gtk_stack_set_transition_duration (GTK_STACK (stack), 1500);
gtk_widget_set_halign (stack, GTK_ALIGN_START);
gtk_widget_set_vexpand (stack, TRUE);
/* Add sidebar before stack */
sidebar = gtk_stack_sidebar_new ();