[gtk+] widget-factory: Use max-content-size in a popover



commit 5892bd72fa5dec120a8aadbe04c01c806e29ae86
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jun 6 14:33:25 2016 -0400

    widget-factory: Use max-content-size in a popover
    
    This gives a nice example of these properties in action,
    in the "Open" popover on page 3.

 demos/widget-factory/widget-factory.ui |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index eae3a8c..3ee3c32 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -4127,8 +4127,10 @@ bad things might happen.</property>
             <property name="valign">start</property>
             <property name="visible">1</property>
             <property name="shadow-type">in</property>
-            <property name="hscrollbar-policy">never</property>
             <property name="min-content-height">70</property>
+            <property name="max-content-height">120</property>
+            <property name="min-content-width">100</property>
+            <property name="max-content-width">100</property>
             <child>
               <object class="GtkTextView" id="open_popover_textview">
                 <property name="visible">1</property>


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