[gnome-builder/wip/gtk4-port: 228/1774] libide/greeter: add clamp for sizing




commit 68b2627107cac2af68a29c34c650255fbb6126dd
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 30 17:20:04 2022 -0700

    libide/greeter: add clamp for sizing

 src/libide/greeter/ide-greeter-workspace.ui | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/greeter/ide-greeter-workspace.ui b/src/libide/greeter/ide-greeter-workspace.ui
index 1dc0ae5dc..2be6d6414 100644
--- a/src/libide/greeter/ide-greeter-workspace.ui
+++ b/src/libide/greeter/ide-greeter-workspace.ui
@@ -81,9 +81,16 @@
                               </object>
                             </child>
                             <child>
-                              <object class="GtkBox" id="sections">
+                              <object class="AdwClamp">
+                                <property name="halign">center</property>
+                                <property name="maximum-size">600</property>
                                 <property name="orientation">vertical</property>
-                                <property name="spacing">32</property>
+                                <child>
+                                  <object class="GtkBox" id="sections">
+                                    <property name="orientation">vertical</property>
+                                    <property name="spacing">32</property>
+                                  </object>
+                                </child>
                               </object>
                             </child>
                             <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]