[gtk/wip/otte/for-master] widget-factory: Propagate natural size for text styles



commit 99e4a6a2d624326df9370f0e4468008c19c2db79
Author: Benjamin Otte <otte redhat com>
Date:   Fri Jul 30 20:54:58 2021 +0200

    widget-factory: Propagate natural size for text styles
    
    This avoids them requiring scrolling.

 demos/widget-factory/widget-factory.ui | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 05001b0ef3..1f2258d06d 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1074,6 +1074,8 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
                                     <property name="vexpand">1</property>
                                     <property name="hscrollbar-policy">never</property>
                                     <property name="vscrollbar-policy">automatic</property>
+                                    <property name="propagate-natural-height">1</property>
+                                    <property name="propagate-natural-width">1</property>
                                     <child>
                                       <object class="GtkBox">
                                         <property name="orientation">vertical</property>


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