[seahorse/wip/nielsdg/fix-scrolled-treeview] KeyManager: fix GtkTreeview UI bugs



commit 539743d67f8dd4daf073a3579f2eb91f1d289881
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Mon Jan 7 22:01:06 2019 +0100

    KeyManager: fix GtkTreeview UI bugs
    
    * Add a border between the lines and around the treeview, so it comes
    out better visually.
    * Don't chop off part of the treeiew at the bottom (or the top) when
    scrolling.

 src/seahorse-key-manager.ui | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/src/seahorse-key-manager.ui b/src/seahorse-key-manager.ui
index e1d4811f..325e236a 100644
--- a/src/seahorse-key-manager.ui
+++ b/src/seahorse-key-manager.ui
@@ -353,16 +353,21 @@
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <child>
-                      <object class="GtkTreeView" id="key_list">
+                      <object class="GtkFrame">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="margin-top">12</property>
-                        <property name="margin-bottom">12</property>
-                        <property name="margin-left">18</property>
-                        <property name="margin-right">18</property>
-                        <property name="rules_hint">True</property>
-                        <child internal-child="selection">
-                          <object class="GtkTreeSelection" id="treeview-selection"/>
+                        <property name="margin-top">24</property>
+                        <property name="margin-bottom">24</property>
+                        <property name="margin-left">48</property>
+                        <property name="margin-right">48</property>
+                        <child>
+                          <object class="GtkTreeView" id="key_list">
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="enable-grid-lines">horizontal</property>
+                            <child internal-child="selection">
+                              <object class="GtkTreeSelection" id="treeview-selection"/>
+                            </child>
+                          </object>
                         </child>
                       </object>
                     </child>


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