mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 11:50:21 +00:00
testgtk: Fix the test scrolling test
We need to expand here, otherwise things look wrong.
This commit is contained in:
parent
d3014c23b9
commit
e522ff0532
@ -7148,6 +7148,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),
|
||||
|
Loading…
Reference in New Issue
Block a user