[gnome-music/wip/jfelder/core-playlists-view] songwidget: Adjust SongWidget height the right way



commit a7078eb6cd9b24dea662e8f05a005c728de6e087
Author: Jean Felder <jfelder src gnome org>
Date:   Sat Jul 13 14:15:56 2019 +0200

    songwidget: Adjust SongWidget height the right way
    
    The SongWidget's eventbox height needs to be the same as the
    SongWidget in order to properly respond to the click events to start a
    song.

 data/org.gnome.Music.css | 1 -
 data/ui/SongWidget.ui    | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 3d645284..566376cc 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -123,7 +123,6 @@ padding: 0px;
 }
 
 .songs-list > row {
-    padding: 10px 0;
     border-bottom: 1px solid rgba(0, 0, 0, 0.1);
 }
 
diff --git a/data/ui/SongWidget.ui b/data/ui/SongWidget.ui
index 3a73b42a..31a8e2d6 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -12,6 +12,8 @@
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="spacing">3</property>
+        <property name="margin_top">10</property>
+        <property name="margin_bottom">10</property>
         <child>
           <object class="GtkEventBox" id="_dnd_eventbox">
             <property name="visible">False</property>


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