[gtk: 28/72] glarea demo: Add min size to gl area
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 28/72] glarea demo: Add min size to gl area
- Date: Wed, 14 Oct 2020 19:08:11 +0000 (UTC)
commit 0dc0b03d6f10f413d3d659e59ac7a2fb25a823c4
Author: Timm Bäder <mail baedert org>
Date: Tue Sep 29 19:54:50 2020 +0200
glarea demo: Add min size to gl area
demos/gtk-demo/glarea.c | 1 +
1 file changed, 1 insertion(+)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]