mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
tests: Fix testaccel layout
hexpand doesn't matter there, set vexpand instead.
This commit is contained in:
parent
778d3884e2
commit
1c03745ee4
@ -71,7 +71,7 @@ key_test (void)
|
|||||||
gtk_window_set_default_size (GTK_WINDOW (window), 400, 400);
|
gtk_window_set_default_size (GTK_WINDOW (window), 400, 400);
|
||||||
|
|
||||||
sw = gtk_scrolled_window_new (NULL, NULL);
|
sw = gtk_scrolled_window_new (NULL, NULL);
|
||||||
gtk_widget_set_hexpand (sw, TRUE);
|
gtk_widget_set_vexpand (sw, TRUE);
|
||||||
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
|
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
|
||||||
gtk_widget_show (box);
|
gtk_widget_show (box);
|
||||||
gtk_window_set_child (GTK_WINDOW (window), box);
|
gtk_window_set_child (GTK_WINDOW (window), box);
|
||||||
|
Loading…
Reference in New Issue
Block a user