[gnome-music/wip/jfelder/songsview-scrollable: 4/4] songsview: Correctly use AdwClampScrollable
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/songsview-scrollable: 4/4] songsview: Correctly use AdwClampScrollable
- Date: Sun, 20 Feb 2022 14:45:49 +0000 (UTC)
commit df8cb92cd2d7f1c93a4b323c3113a188424667b4
Author: Jean Felder <jfelder src gnome org>
Date: Sun Feb 20 14:02:43 2022 +0100
songsview: Correctly use AdwClampScrollable
AdwClampScrollable is mainly used to clamp a GtkListView. Therefore,
its child needs to inherit from GtkScrollable.
data/ui/SongsView.ui | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/ui/SongsView.ui b/data/ui/SongsView.ui
index 714423f8a..c2dc2126f 100644
--- a/data/ui/SongsView.ui
+++ b/data/ui/SongsView.ui
@@ -5,12 +5,12 @@
<property name="margin-bottom">48</property>
<property name="margin-top">48</property>
<child>
- <object class="AdwClampScrollable" id="_adw_clamp_scrollable">
- <property name="hexpand">True</property>
- <property name="vexpand">True</property>
- <property name="maximum-size">1000</property>
+ <object class="GtkScrolledWindow">
<child>
- <object class="GtkScrolledWindow">
+ <object class="AdwClampScrollable" id="_adw_clamp_scrollable">
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="maximum-size">1000</property>
<child>
<object class="GtkListView" id="_listview">
<property name="show-separators">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]