[gnome-sound-recorder/wip/exalm/polish: 3/8] ui: Use .numeric




commit 07192f07cda537cd7fa518e6870b58cbabad220e
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Nov 19 03:49:30 2021 +0500

    ui: Use .numeric

 data/ui/recorder.ui | 4 +---
 data/ui/row.ui      | 6 +++---
 2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/recorder.ui b/data/ui/recorder.ui
index 5c8c099..cea7e6f 100644
--- a/data/ui/recorder.ui
+++ b/data/ui/recorder.ui
@@ -18,10 +18,8 @@
                   <object class="GtkLabel" id="recorderTime">
                     <property name="margin_top">18</property>
                     <property name="use_markup">True</property>
-                    <attributes>
-                      <attribute name="font-features" value="tnum=1"/>
-                    </attributes>
                     <style>
+                      <class name="numeric"/>
                       <class name="recorder-time-label"/>
                     </style>
                   </object>
diff --git a/data/ui/row.ui b/data/ui/row.ui
index b651c5a..9157d17 100644
--- a/data/ui/row.ui
+++ b/data/ui/row.ui
@@ -47,9 +47,9 @@
                         <property name="hexpand">True</property>
                         <property name="halign">end</property>
                         <property name="use_markup">True</property>
-                        <attributes>
-                          <attribute name="font-features" value="tnum=1"/>
-                        </attributes>
+                        <style>
+                          <class name="numeric"/>
+                        </style>
                       </object>
                     </child>
                   </object>


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