diff options
author | Timm Bäder <mail@baedert.org> | 2020-09-29 19:54:50 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-10-14 15:06:12 -0400 |
commit | 0dc0b03d6f10f413d3d659e59ac7a2fb25a823c4 (patch) | |
tree | 61651187b4544d088c17485f06ce28ce8a2b4258 /demos | |
parent | 9f574a596f7e6e2774c593a5fed8a8ee2e64ec73 (diff) | |
download | gtk+-0dc0b03d6f10f413d3d659e59ac7a2fb25a823c4.tar.gz |
glarea demo: Add min size to gl area
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/glarea.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/gtk-demo/glarea.c b/demos/gtk-demo/glarea.c index 5c2fb898c3..428d9fdaae 100644 --- a/demos/gtk-demo/glarea.c +++ b/demos/gtk-demo/glarea.c @@ -406,6 +406,7 @@ create_glarea_window (GtkWidget *do_widget) gl_area = gtk_gl_area_new (); gtk_widget_set_hexpand (gl_area, TRUE); gtk_widget_set_vexpand (gl_area, TRUE); + gtk_widget_set_size_request (gl_area, 100, 200); gtk_box_append (GTK_BOX (box), gl_area); /* We need to initialize and free GL resources, so we use |