[gnome-music/wip/jfelder/new-playertoolbar: 6/14] playertoolbar: Split the time in two parts
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/new-playertoolbar: 6/14] playertoolbar: Split the time in two parts
- Date: Tue, 4 May 2021 14:18:17 +0000 (UTC)
commit 062c920d6df916ec9b3d911e849f28f3c508a128
Author: Jean Felder <jfelder src gnome org>
Date: Thu Jan 28 16:44:59 2021 +0100
playertoolbar: Split the time in two parts
The progress time label is now displayed before the progress scale and
the duration is displayed after the progress scale.
data/ui/PlayerToolbar.ui | 52 ++++++++++++++++--------------------------------
1 file changed, 17 insertions(+), 35 deletions(-)
---
diff --git a/data/ui/PlayerToolbar.ui b/data/ui/PlayerToolbar.ui
index 24018d444..cff98abc3 100644
--- a/data/ui/PlayerToolbar.ui
+++ b/data/ui/PlayerToolbar.ui
@@ -169,6 +169,18 @@
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel" id="_progress_time_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="valign">center</property>
+ <property name="label">0:00</property>
+ <attributes>
+ <attribute name="font-features" value="tnum=1"/>
+ </attributes>
+ </object>
+ </child>
<child>
<object class="SmoothScale" id="_progress_scale">
<property name="visible">True</property>
@@ -180,45 +192,15 @@
</object>
</child>
<child>
- <object class="GtkBox" id="timer">
+ <object class="GtkLabel" id="_duration_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkLabel" id="_progress_time_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">start</property>
- <property name="valign">center</property>
- <property name="label">0:00</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="separator">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">start</property>
- <property name="valign">center</property>
- <property name="label">/</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="_duration_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">start</property>
- <property name="valign">center</property>
- <property name="label">0:00</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
- </object>
- </child>
+ <property name="label">0:00</property>
+ <attributes>
+ <attribute name="font-features" value="tnum=1"/>
+ </attributes>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]