[gtk+] tests: Make stack expand



commit c580a9d01f31496349ca9599e5271f5137e47783
Author: Benjamin Otte <otte redhat com>
Date:   Wed Nov 4 19:10:16 2015 +0100

    tests: Make stack expand
    
    This is to test invisible children are actually resized before they are
    made visible (which they currrently are not.

 tests/teststack.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/teststack.c b/tests/teststack.c
index 4cf6c07..07890e1 100644
--- a/tests/teststack.c
+++ b/tests/teststack.c
@@ -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 ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]