mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Make testwrapbox scrolled window scrollbars automatic.
Did this in the hope to reproduce infinite recursion bugs with height-for-width in scrolled windows (see complex bgo #611740 for reference for now).
This commit is contained in:
parent
a79637f081
commit
96c3858b21
@ -276,6 +276,9 @@ create_window (void)
|
||||
gtk_box_pack_start (GTK_BOX (hbox), frame, TRUE, TRUE, 0);
|
||||
|
||||
swindow = gtk_scrolled_window_new (NULL, NULL);
|
||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
|
||||
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
|
||||
|
||||
gtk_widget_show (swindow);
|
||||
gtk_container_add (GTK_CONTAINER (frame), swindow);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user