[gtk/wip/baedert/for-master: 87/99] glarea demo: Add min size to gl area
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 87/99] glarea demo: Add min size to gl area
- Date: Thu, 8 Oct 2020 16:06:20 +0000 (UTC)
commit 96977a36d1ab5fabfcf6e702e9eaa646838779d8
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]