[gnome-music/wip/mschraal/songwidget-tiny-cleanups: 1/2] ui/SongWidget: Move star margin-end to StarImage




commit 77b6a148391f933155fddeab2ab8249c1184ba4b
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue May 11 00:21:41 2021 +0200

    ui/SongWidget: Move star margin-end to StarImage
    
    * Consolidate margin-start and end on the same object.
    * Equalize the margin start and end value to 10 for consistency.

 data/ui/SongWidget.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/ui/SongWidget.ui b/data/ui/SongWidget.ui
index e68b8b7ec..3dba6fdbd 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -157,13 +157,13 @@
                 <property name="halign">end</property>
                 <property name="valign">center</property>
                 <property name="visible_window">True</property>
-                <property name="margin-end">12</property>
                 <signal name="button-release-event" handler="_on_star_toggle" swapped="no"/>
                 <child>
                   <object class="StarImage" id="_star_image">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="valign">center</property>
+                    <property name="margin-end">10</property>
                     <property name="margin-start">10</property>
                   </object>
                 </child>


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