[fractal] direct_chat: Remove manual viewport



commit b9bf237b8b47b2dd66579438c7915a120c5cb781
Author: Christopher Davis <brainblasted disroot org>
Date:   Sat Oct 31 18:02:41 2020 -0700

    direct_chat: Remove manual viewport
    
    ScrolledWindow automatically adds a viewport.

 fractal-gtk/res/ui/direct_chat.ui | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/fractal-gtk/res/ui/direct_chat.ui b/fractal-gtk/res/ui/direct_chat.ui
index 8cf3ac71..65940eed 100644
--- a/fractal-gtk/res/ui/direct_chat.ui
+++ b/fractal-gtk/res/ui/direct_chat.ui
@@ -60,18 +60,11 @@
                     <class name="scrollarea-top-border"/>
                 </style>
                 <child>
-                  <object class="GtkViewport">
+                  <object class="GtkListBox" id="direct_chat_search_box">
                     <property name="height_request">150</property>
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <child>
-                      <object class="GtkListBox" id="direct_chat_search_box">
-                        <property name="height_request">150</property>
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="selection_mode">none</property>
-                      </object>
-                    </child>
+                    <property name="selection_mode">none</property>
                   </object>
                 </child>
               </object>


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