From 8d3d09fc1502f8422da72863bfd0984f833a10cf Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Thu, 13 Apr 2017 19:17:25 +0200
Subject: Put the treeview for binary portions into a scrollable window.

---
 ChangeLog                 |  5 +++++
 src/gui/panels/bintree.ui | 21 ++++++++++++++-------
 2 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fb22623..455ada7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 17-04-13  Cyrille Bagard <nocbos@gmail.com>
 
+	* src/gui/panels/bintree.ui:
+	Put the treeview for binary portions into a scrollable window.
+
+17-04-13  Cyrille Bagard <nocbos@gmail.com>
+
 	* plugins/androhelpers/switch.c:
 	* plugins/androhelpers/try_n_catch.c:
 	* plugins/libcsem/exit.c:
diff --git a/src/gui/panels/bintree.ui b/src/gui/panels/bintree.ui
index 2348e8d..678cc56 100644
--- a/src/gui/panels/bintree.ui
+++ b/src/gui/panels/bintree.ui
@@ -168,19 +168,26 @@
           </packing>
         </child>
         <child>
-          <object class="GtkTreeView" id="treeview">
+          <object class="GtkScrolledWindow" id="scrolledwindow1">
             <property name="visible">True</property>
             <property name="can_focus">True</property>
-            <property name="model">store</property>
-            <property name="headers_visible">False</property>
-            <child internal-child="selection">
-              <object class="GtkTreeSelection" id="treeview-selection1">
-                <signal name="changed" handler="on_bintree_selection_changed" swapped="no"/>
+            <property name="shadow_type">in</property>
+            <child>
+              <object class="GtkTreeView" id="treeview">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="model">store</property>
+                <property name="headers_visible">False</property>
+                <child internal-child="selection">
+                  <object class="GtkTreeSelection" id="treeview-selection1">
+                    <signal name="changed" handler="on_bintree_selection_changed" swapped="no"/>
+                  </object>
+                </child>
               </object>
             </child>
           </object>
           <packing>
-            <property name="expand">False</property>
+            <property name="expand">True</property>
             <property name="fill">True</property>
             <property name="position">1</property>
           </packing>
-- 
cgit v0.11.2-87-g4458