[gnome-music/wip/mschraal/gtk4-pre-squash-backup: 212/254] playlistdialog: Ensure that playlist list is scrollable




commit 9feb382e24e93b609bfeba8fb384fc67d9366f5d
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Feb 11 17:07:46 2022 +0100

    playlistdialog: Ensure that playlist list is scrollable

 data/ui/PlaylistDialog.ui | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/data/ui/PlaylistDialog.ui b/data/ui/PlaylistDialog.ui
index 8aa0a886e..f039604dd 100644
--- a/data/ui/PlaylistDialog.ui
+++ b/data/ui/PlaylistDialog.ui
@@ -109,11 +109,16 @@
                     <property name="focusable">True</property>
                     <property name="vexpand">True</property>
                     <child>
-                      <object class="GtkListBox" id="_listbox">
-                        <property name="focusable">True</property>
-                        <property name="selection_mode">single</property>
-                        <property name="valign">start</property>
-                        <signal name="selected-rows-changed" handler="_on_selected_rows_changed" 
swapped="no"/>
+                      <object class="GtkViewport">
+                        <property name="scroll-to-focus">True</property>
+                        <child>
+                          <object class="GtkListBox" id="_listbox">
+                            <property name="focusable">True</property>
+                            <property name="selection_mode">single</property>
+                            <property name="valign">start</property>
+                            <signal name="selected-rows-changed" handler="_on_selected_rows_changed" 
swapped="no"/>
+                          </object>
+                        </child>
                       </object>
                     </child>
                   </object>


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