[gnome-games] ui: Move some label style properties



commit c3e2ca646d5d251ace9a9c173ccc4f6f5d2ac80c
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Feb 24 17:18:05 2017 +0100

    ui: Move some label style properties
    
    Make some label style properties in DummyDisplay label attributes
    instead of markup in the translatable string.

 data/ui/dummy-display.ui |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/dummy-display.ui b/data/ui/dummy-display.ui
index 632a378..fa41188 100644
--- a/data/ui/dummy-display.ui
+++ b/data/ui/dummy-display.ui
@@ -33,7 +33,12 @@
             <property name="halign">center</property>
             <property name="vexpand">True</property>
             <property name="margin-bottom">6</property>
-            <property name="label" translatable="yes">&lt;b&gt;&lt;span size=&quot;large&quot;&gt;This is a 
dummy game display&lt;/span&gt;&lt;/b&gt;</property>
+            <property name="label" translatable="yes">This is a dummy game display</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+              <!-- "1.2" is the value of "large" -->
+              <attribute name="scale" value="1.2"/>
+            </attributes>
           </object>
         </child>
 


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