[gtk+] widget-factory: Adapt to label clipping change



commit 3780fc787c8c958f9aa6f66bbcddb6c0605dc271
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 11 21:15:03 2014 -0400

    widget-factory: Adapt to label clipping change
    
    The paned examples on page 2 were implicitly relying on labels
    drawing unclipped. Instead of setting the view class only on the
    labels, set it on the paned's instead.

 demos/widget-factory/widget-factory.ui |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 07460e3..d044df4 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -2658,22 +2658,19 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                                       <object class="GtkPaned">
                                         <property name="visible">True</property>
                                         <property name="orientation">horizontal</property>
+                                        <style>
+                                          <class name="view"/>
+                                        </style>
                                         <child>
                                           <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="label">Left</property>
-                                            <style>
-                                              <class name="view"/>
-                                            </style>
                                           </object>
                                         </child>
                                         <child>
                                           <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="label">Right</property>
-                                            <style>
-                                              <class name="view"/>
-                                            </style>
                                           </object>
                                         </child>
                                       </object>
@@ -2688,22 +2685,19 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                                       <object class="GtkPaned">
                                         <property name="visible">True</property>
                                         <property name="orientation">vertical</property>
+                                        <style>
+                                          <class name="view"/>
+                                        </style>
                                         <child>
                                           <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="label">Top</property>
-                                            <style>
-                                              <class name="view"/>
-                                            </style>
                                           </object>
                                         </child>
                                         <child>
                                           <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="label">Bottom</property>
-                                            <style>
-                                              <class name="view"/>
-                                            </style>
                                           </object>
                                         </child>
                                       </object>


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