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




commit 33eec933f387039661caf5ae8a90dfb12bea91a0
Author: Marcus Lundblad <ml update uu se>
Date:   Sun Feb 20 21:45:47 2022 +0100

    transitItineraryRow: 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-itinerary-row.ui | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/data/ui/transit-itinerary-row.ui b/data/ui/transit-itinerary-row.ui
index d4be5468..9ef1ddaf 100644
--- a/data/ui/transit-itinerary-row.ui
+++ b/data/ui/transit-itinerary-row.ui
@@ -14,6 +14,9 @@
             <property name="visible">True</property>
             <property name="expand">False</property>
             <property name="halign">GTK_ALIGN_START</property>
+            <attributes>
+              <attribute name="font-features" value="tnum"/>
+            </attributes>
           </object>
           <packing>
             <property name="top-attach">0</property>
@@ -25,6 +28,9 @@
             <property name="visible">True</property>
             <property name="expand">True</property>
             <property name="halign">GTK_ALIGN_START</property>
+            <attributes>
+              <attribute name="font-features" value="tnum"/>
+            </attributes>
             <style>
               <class name="dim-label"/>
             </style>


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