[gtk+/wip/matthiasc/kill-event-signals: 36/62] testgtk: Fix the test scrolling test



commit bb7ea013b8cc171eec0bef271993c3db7123f5e7
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 1 10:40:09 2018 -0500

    testgtk: Fix the test scrolling test
    
    We need to expand here, otherwise things look wrong.

 tests/testgtk.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 5ff0527..60906b4 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -7140,6 +7140,8 @@ create_scroll_test (GtkWidget *widget)
       scroll_test_pos = 0.0;
 
       drawing_area = gtk_drawing_area_new ();
+      gtk_widget_set_hexpand (drawing_area, TRUE);
+      gtk_widget_set_vexpand (drawing_area, TRUE);
       gtk_drawing_area_set_content_width (GTK_DRAWING_AREA (drawing_area), 200);
       gtk_drawing_area_set_content_height (GTK_DRAWING_AREA (drawing_area), 200);
       gtk_drawing_area_set_draw_func (GTK_DRAWING_AREA (drawing_area),


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