[gnome-clocks] laps-row: Fix spacing
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] laps-row: Fix spacing
- Date: Fri, 7 Jan 2022 17:23:44 +0000 (UTC)
commit 467bc4d4ff00003213d742eafa2978fe8bb491fe
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Mon Dec 13 11:46:57 2021 +0100
laps-row: Fix spacing
Use style class for numeric instead of pango attribute.
data/ui/stopwatch-laps-row.ui | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/stopwatch-laps-row.ui b/data/ui/stopwatch-laps-row.ui
index 8b5bf860..a137a111 100644
--- a/data/ui/stopwatch-laps-row.ui
+++ b/data/ui/stopwatch-laps-row.ui
@@ -5,16 +5,18 @@
<child>
<object class="GtkBox">
<property name="spacing">18</property>
+ <property name="margin-top">18</property>
+ <property name="margin-bottom">18</property>
+ <property name="margin-start">18</property>
+ <property name="margin-end">18</property>
<child>
<object class="GtkLabel" id="duration_label">
<property name="tooltip_text" translatable="yes">Time</property>
<property name="halign">start</property>
<property name="valign">center</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
<style>
<class name="lap-time"/>
+ <class name="numeric"/>
</style>
</object>
</child>
@@ -22,10 +24,11 @@
<object class="GtkLabel" id="difference_label">
<property name="tooltip_text" translatable="yes">Difference</property>
<property name="halign">start</property>
+ <property name="hexpand">True</property>
<property name="valign">center</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
+ <style>
+ <class name="numeric"/>
+ </style>
</object>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]