[gtk/list-styles] gtk-demo: take off the makeup



commit fb041f94f0f51ab023cbdaf5354dac605f1783d3
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 11 12:13:29 2020 -0400

    gtk-demo: take off the makeup
    
    Remove all the hardcoded spacing from the listbox
    demo, so the rich-list styling can take effect.

 demos/gtk-demo/listbox2.ui | 42 ------------------------------------------
 1 file changed, 42 deletions(-)
---
diff --git a/demos/gtk-demo/listbox2.ui b/demos/gtk-demo/listbox2.ui
index 181ee5d4dc..b4ab9efd82 100644
--- a/demos/gtk-demo/listbox2.ui
+++ b/demos/gtk-demo/listbox2.ui
@@ -44,12 +44,6 @@
                           <object class="GtkListBoxRow">
                             <child>
                               <object class="GtkBox">
-                                <property name="margin-start">6</property>
-                                <property name="margin-end">6</property>
-                                <property name="margin-top">6</property>
-                                <property name="margin-bottom">6</property>
-                                <property name="spacing">12</property>
-                                <property name="height-request">34</property>
                                 <child>
                                   <object class="GtkLabel" id="switch_label">
                                     <property name="label" translatable="yes">Switch</property>
@@ -73,12 +67,6 @@
                           <object class="GtkListBoxRow">
                             <child>
                               <object class="GtkBox">
-                                <property name="margin-start">6</property>
-                                <property name="margin-end">6</property>
-                                <property name="margin-top">6</property>
-                                <property name="margin-bottom">6</property>
-                                <property name="spacing">12</property>
-                                <property name="height-request">34</property>
                                 <child>
                                   <object class="GtkLabel" id="check_label">
                                     <property name="label" translatable="yes">Check</property>
@@ -105,12 +93,6 @@
                           <object class="GtkListBoxRow">
                             <child>
                               <object class="GtkBox">
-                                <property name="margin-start">6</property>
-                                <property name="margin-end">6</property>
-                                <property name="margin-top">6</property>
-                                <property name="margin-bottom">6</property>
-                                <property name="spacing">12</property>
-                                <property name="height-request">34</property>
                                 <child>
                                   <object class="GtkLabel" id="image_label">
                                     <property name="label" translatable="yes">Click here!</property>
@@ -164,12 +146,6 @@
                             <property name="activatable">0</property>
                             <child>
                               <object class="GtkBox">
-                                <property name="margin-start">6</property>
-                                <property name="margin-end">6</property>
-                                <property name="margin-top">6</property>
-                                <property name="margin-bottom">6</property>
-                                <property name="spacing">12</property>
-                                <property name="height-request">34</property>
                                 <child>
                                   <object class="GtkLabel" id="scale_label">
                                     <property name="label" translatable="yes">Scale</property>
@@ -204,12 +180,6 @@
                             <property name="activatable">0</property>
                             <child>
                               <object class="GtkBox">
-                                <property name="margin-start">6</property>
-                                <property name="margin-end">6</property>
-                                <property name="margin-top">6</property>
-                                <property name="margin-bottom">6</property>
-                                <property name="spacing">12</property>
-                                <property name="height-request">34</property>
                                 <child>
                                   <object class="GtkLabel" id="spin_label">
                                     <property name="label" translatable="yes">Spinbutton</property>
@@ -241,12 +211,6 @@
                             <property name="activatable">0</property>
                             <child>
                               <object class="GtkBox">
-                                <property name="margin-start">6</property>
-                                <property name="margin-end">6</property>
-                                <property name="margin-top">6</property>
-                                <property name="margin-bottom">6</property>
-                                <property name="spacing">12</property>
-                                <property name="height-request">34</property>
                                 <child>
                                   <object class="GtkLabel" id="dropdown_label">
                                     <property name="label" translatable="yes">Dropdown</property>
@@ -281,12 +245,6 @@
                             <property name="activatable">0</property>
                             <child>
                               <object class="GtkBox">
-                                <property name="margin-start">6</property>
-                                <property name="margin-end">6</property>
-                                <property name="margin-top">6</property>
-                                <property name="margin-bottom">6</property>
-                                <property name="spacing">12</property>
-                                <property name="height-request">34</property>
                                 <child>
                                   <object class="GtkLabel" id="entry_label">
                                     <property name="label" translatable="yes">Entry</property>


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