[gtk/matthiasc/for-master] gtk-demo: Some fixes to awards



commit 94994e8689bc32cc29644caef44f921dd05b9516
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 31 10:45:22 2020 -0400

    gtk-demo: Some fixes to awards
    
    Fix things up enough to make the list show up.
    Still not a working example, but closer.

 demos/gtk-demo/awardlistitem.ui | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/awardlistitem.ui b/demos/gtk-demo/awardlistitem.ui
index 8e2a1415fd..3627877cdd 100644
--- a/demos/gtk-demo/awardlistitem.ui
+++ b/demos/gtk-demo/awardlistitem.ui
@@ -3,8 +3,15 @@
   <template class="GtkListItem">
     <property name="child">
       <object class="GtkLabel">
-        <property name="label" bind-source="GtkListItem" bind-property="position"></property>
-        <property name="margin">6</property>
+        <binding name="label">
+          <lookup name="title" type="GtkAward">
+             <lookup name="item">GtkListItem</lookup>
+          </lookup>
+        </binding>
+        <property name="margin-start">6</property>
+        <property name="margin-end">6</property>
+        <property name="margin-top">6</property>
+        <property name="margin-bottom">6</property>
       </object>
     </property>
   </template>


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