[gnome-music/wip/mschraal/gtk4-v2: 26/38] ui/SongWidget: Fix packing
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 26/38] ui/SongWidget: Fix packing
- Date: Tue, 11 May 2021 13:48:16 +0000 (UTC)
commit 430788d3299c92a882ee0871a16e878809439674
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Apr 12 17:22:57 2021 +0200
ui/SongWidget: Fix packing
data/ui/SongWidget.ui | 54 +++++++++++++++++++++++++--------------------------
1 file changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/data/ui/SongWidget.ui b/data/ui/SongWidget.ui
index 852bbc799..a48b4d07a 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -156,40 +156,40 @@
<property name="can-focus">False</property>
<property name="visible">True</property>
<child>
- <object class="GtkBox" id="_star_box">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">end</property>
- <property name="valign">center</property>
- <property name="margin-end">12</property>
- <!-- <signal name="button-release-event" handler="_on_star_toggle" swapped="no"/> -->
- <child>
- <object class="GtkEventControllerMotion">
- <signal name="enter" handler="_on_star_hover" swapped="no"/>
- <signal name="leave" handler="_on_star_unhover" swapped="no"/>
- </object>
- </child>
- <child>
- <object class="StarImage" id="_star_image">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
+ <object class="GtkStackPage">
+ <property name="name">star</property>
+ <property name="child">
+ <object class="GtkBox" id="_star_box">
+ <property name="can_focus">0</property>
+ <property name="halign">end</property>
<property name="valign">center</property>
- <property name="margin-start">10</property>
+ <property name="margin-end">12</property>
+ <child>
+ <object class="GtkEventControllerMotion">
+ <signal name="enter" handler="_on_star_hover" swapped="no"/>
+ <signal name="leave" handler="_on_star_unhover" swapped="no"/>
+ </object>
+ </child>
+ <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-start">10</property>
+ </object>
+ </child>
</object>
- </child>
+ </property>
</object>
- <packing>
- <property name="name">star</property>
- </packing>
</child>
<child>
- <object class="GtkBox">
- <property name="visible">True</property>
- </object>
- <packing>
+ <object class="GtkStackPage">
<property name="name">empty</property>
<property name="position">1</property>
- </packing>
+ <property name="child">
+ <object class="GtkBox"/>
+ </property>
+ </object>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]