[nautilus/wip/antoniof/properties-followup] properties-window: Adapt window height to content



commit 4751477cbd56f25a3ab4104c2dfc1a97dab26d2c
Author: António Fernandes <antoniof gnome org>
Date:   Thu Aug 4 13:25:58 2022 +0100

    properties-window: Adapt window height to content

 src/resources/ui/nautilus-properties-window.ui | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui
index ef36e23c7..4e338f285 100644
--- a/src/resources/ui/nautilus-properties-window.ui
+++ b/src/resources/ui/nautilus-properties-window.ui
@@ -6,7 +6,6 @@
     <property name="focusable">False</property>
     <property name="modal">True</property>
     <property name="default-width">480</property>
-    <property name="default-height">600</property>
     <child>
       <object class="GtkStack" id="page_stack">
         <property name="hexpand">True</property>
@@ -24,6 +23,8 @@
                   <object class="GtkScrolledWindow">
                     <property name="hscrollbar-policy">never</property>
                     <property name="vexpand">true</property>
+                    <property name="min-content-height">480</property>
+                    <property name="propagate-natural-height">true</property>
                     <property name="child">
                       <object class="AdwClamp">
                         <property name="margin-top">18</property>


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