[gnome-music/wip/mschraal/default-icon-cleanups: 14/17] ui/PlaylistControls: Fix margins and typography
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/default-icon-cleanups: 14/17] ui/PlaylistControls: Fix margins and typography
- Date: Fri, 27 Aug 2021 14:25:13 +0000 (UTC)
commit 381632dc532bec8d34965a5bc85684efab58f675
Author: Marinus Schraal <mschraal gnome org>
Date: Wed Aug 25 16:20:28 2021 +0200
ui/PlaylistControls: Fix margins and typography
data/org.gnome.Music.css | 6 ------
data/ui/PlaylistControls.ui | 13 +++++++------
2 files changed, 7 insertions(+), 12 deletions(-)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 94b746148..27b40b2dd 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -51,12 +51,6 @@
padding-bottom: 0px;
}
-/* PlaylistControls */
-.playlist-name-label {
- font-weight: bold;
- font-size: x-large;
-}
-
/* FIXME: Remove once songsview is ported to the new style */
.songs-list-old {
box-shadow: inset 0 -1px shade(@borders, 1.30);
diff --git a/data/ui/PlaylistControls.ui b/data/ui/PlaylistControls.ui
index b2a6bd978..f662bbbf5 100644
--- a/data/ui/PlaylistControls.ui
+++ b/data/ui/PlaylistControls.ui
@@ -33,7 +33,7 @@
<property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin-top">18</property>
+ <property name="margin-top">26</property>
<child>
<object class="GtkStack" id="_name_stack">
<property name="visible">True</property>
@@ -45,8 +45,9 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Playlist Name</property>
<property name="ellipsize">middle</property>
+ <property name="margin-bottom">10</property>
<style>
- <class name="playlist-name-label"/>
+ <class name="title-1"/>
</style>
</object>
</child>
@@ -77,7 +78,6 @@
<property name="receives_default">True</property>
<property name="label" translatable="yes">_Done</property>
<property name="use_underline">True</property>
- <property name="valign">center</property>
<property name="sensitive">True</property>
<signal name="clicked" handler="_on_playlist_renamed" swapped="no" />
<style>
@@ -96,10 +96,11 @@
<object class="GtkLabel" id="_songs_count_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="label">3 Songs</property>
+ <property name="halign">start</property>
+ <property name="label"></property>
+ <property name="margin-bottom">4</property>
<style>
- <class name="dim-label"/>
+ <class name="body"/>
</style>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]