[gnome-music/wip/jfelder/gtk4-v3] playlistsview: Ensure that sidebar is scrollable
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3] playlistsview: Ensure that sidebar is scrollable
- Date: Fri, 11 Feb 2022 16:12:41 +0000 (UTC)
commit edb40973acc154be69a8b9e6f1891486ae99ef44
Author: Jean Felder <jfelder src gnome org>
Date: Fri Feb 11 17:00:15 2022 +0100
playlistsview: Ensure that sidebar is scrollable
data/ui/PlaylistsView.ui | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/PlaylistsView.ui b/data/ui/PlaylistsView.ui
index 77e4127b7..402598898 100644
--- a/data/ui/PlaylistsView.ui
+++ b/data/ui/PlaylistsView.ui
@@ -9,9 +9,14 @@
<class name="sidebar"/>
</style>
<child>
- <object class="GtkListBox" id="_sidebar">
- <property name="selection-mode">single</property>
- <signal name="row-activated" handler="_on_playlist_activated" swapped="no"/>
+ <object class="GtkViewport">
+ <property name="scroll-to-focus">True</property>
+ <child>
+ <object class="GtkListBox" id="_sidebar">
+ <property name="selection-mode">single</property>
+ <signal name="row-activated" handler="_on_playlist_activated" swapped="no"/>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]