[gnome-music/wip/mschraal/gtk4-pre-squash-backup: 210/254] playlistsview: Ensure that sidebar is scrollable
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-pre-squash-backup: 210/254] playlistsview: Ensure that sidebar is scrollable
- Date: Thu, 17 Feb 2022 11:35:45 +0000 (UTC)
commit 6a350be3d4b5f41eddcf34cbff2ff333850516d0
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]