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




commit 814a5112f1bc4ebcf44321974289b0e4ebef7ef5
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 7b80f80cf..8002afa25 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]