From 10b89b324414d8a7568037dd08cec9b67f48882d Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce.cowan@strath.ac.uk> Date: Thu, 9 Jan 2020 11:55:33 +0000 Subject: [PATCH] Readd scrolling into the listbox --- data/interface.ui | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/data/interface.ui b/data/interface.ui index ed7567c..dbfa66f 100644 --- a/data/interface.ui +++ b/data/interface.ui @@ -30,10 +30,24 @@ <template class="RugbyAppWindow" parent="GtkApplicationWindow"> <property name="can_focus">False</property> <child> - <object class="GtkListBox" id="listbox"> + <object class="GtkScrolledWindow"> <property name="height_request">400</property> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can_focus">True</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkListBox" id="listbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="selection_mode">none</property> + </object> + </child> + </object> + </child> </object> </child> <child type="titlebar"> -- GitLab