[gnome-maps/wip/mlundblad/tnum-transit: 4/4] transitStopRow: Use tabular numbers for time labels




commit 202512e7f84db25b6f4ec69a4c354756a72b73a0
Author: Marcus Lundblad <ml update uu se>
Date:   Sun Feb 20 21:46:26 2022 +0100

    transitStopRow: Use tabular numbers for time labels
    
    Use the tablular numbers attribut ("tnum") for the time
    label to get time digits lined up vertically.

 data/ui/transit-stop-row.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/data/ui/transit-stop-row.ui b/data/ui/transit-stop-row.ui
index 5af08b8c..1cd02ba9 100644
--- a/data/ui/transit-stop-row.ui
+++ b/data/ui/transit-stop-row.ui
@@ -43,6 +43,9 @@
             <property name="halign">GTK_ALIGN_END</property>
             <property name="margin-start">6</property>
             <property name="margin-end">0</property>
+            <attributes>
+              <attribute name="font-features" value="tnum"/>
+            </attributes>
           </object>
           <packing>
             <property name="left-attach">2</property>


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