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




commit 04bbbbecfdf6a52dc3b1b3d5197be66651352b5a
Author: Marcus Lundblad <ml update uu se>
Date:   Sun Feb 20 21:46:10 2022 +0100

    transitLegRow: 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-leg-row.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/data/ui/transit-leg-row.ui b/data/ui/transit-leg-row.ui
index c88d783d..2d27feb4 100644
--- a/data/ui/transit-leg-row.ui
+++ b/data/ui/transit-leg-row.ui
@@ -67,6 +67,9 @@
                     <property name="margin-end">18</property>
                     <property name="hexpand">False</property>
                     <property name="halign">GTK_ALIGN_END</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]