# HG changeset patch
# User Remi Thebault <remi.thebault@gmail.com>
# Date 1606040265 -3600
#      Sun Nov 22 11:17:45 2020 +0100
# Node ID bfb54774df320340ce21037198b452829ce4357d
# Parent  039110445042a93e96987f2e26bd2f8c4467ca64
tweaking doc hyperlinks

diff --git a/libgui/src/item-hyperlink-delegate.cc b/libgui/src/item-hyperlink-delegate.cc
--- a/libgui/src/item-hyperlink-delegate.cc
+++ b/libgui/src/item-hyperlink-delegate.cc
@@ -44,7 +44,7 @@ namespace octave
 
   constexpr int default_alignment = Qt::AlignCenter;
 
-  static const QColor unvisited_color = QColor (Qt::darkBlue);
+  static const QColor unvisited_color = QColor (Qt::darkBlue).lighter();
   static const QColor visited_color = QColor (Qt::darkMagenta);
 
   static QSet<QUrl> visited_links;
@@ -78,10 +78,11 @@ namespace octave
         m_clicked_index = QModelIndex{};
         m_clicked_hl_rect = QRect{};
 
-        if (m_cursor_set) {
-          m_view->setCursor (m_old_cursor);
-          m_cursor_set = false;
-        }
+        if (m_cursor_set)
+          {
+            m_view->setCursor (m_old_cursor);
+            m_cursor_set = false;
+          }
 
         m_view->update (ind);
         return;
@@ -122,20 +123,20 @@ namespace octave
       }
   }
 
-  void item_hyperlink_delegate::mouse_press_event (QMouseEvent *ev)
+  bool item_hyperlink_delegate::mouse_press_event (QMouseEvent *ev)
   {
     const auto *m = m_view->model ();
     if (!m)
-      return;
+      return false;
 
     const auto index = m_view->indexAt (ev->pos ());
     if (!index.isValid ())
-      return;
+      return false;
 
     const auto hl
         = qvariant_cast<hyperlink> (m->data (index, Qt::DisplayRole));
     if (hl.isEmpty ())
-      return;
+      return false;
 
     const auto ir = m_view->visualRect (index);
     const auto alignment = item_alignment (index);
@@ -149,17 +150,21 @@ namespace octave
         m_clicked_index = index;
         m_clicked_hl_rect = br;
         m_view->update (index);
+        return true;
       }
+    return false;
   }
 
   void item_hyperlink_delegate::mouse_release_event (QMouseEvent *ev)
   {
-    Q_UNUSED(ev)
+    Q_UNUSED (ev)
 
     if (m_clicked_hyperlink)
       {
         QDesktopServices::openUrl (m_clicked_hyperlink.url ());
 
+        visited_links.insert (m_clicked_hyperlink.url ());
+
         m_clicked_hyperlink = hyperlink{};
         const auto ind = m_clicked_index;
         m_clicked_index = QModelIndex{};
diff --git a/libgui/src/item-hyperlink-delegate.h b/libgui/src/item-hyperlink-delegate.h
--- a/libgui/src/item-hyperlink-delegate.h
+++ b/libgui/src/item-hyperlink-delegate.h
@@ -115,7 +115,10 @@ namespace octave
     //! (mouse tracking must be enabled in the view)
     void mouse_move_event (QMouseEvent *ev);
     //! View must call this method to forward mouse press event
-    void mouse_press_event (QMouseEvent *ev);
+    //! Returns whether the hyperlink was hit by the click.
+    //! Item view may want to accept the event to avoid further
+    //! process (like selecting the row) if the hyperlink is hit
+    bool mouse_press_event (QMouseEvent *ev);
     //! View must call this method to forward mouse release event
     void mouse_release_event (QMouseEvent *ev);
 
diff --git a/libgui/src/property-inspector-table.cc b/libgui/src/property-inspector-table.cc
--- a/libgui/src/property-inspector-table.cc
+++ b/libgui/src/property-inspector-table.cc
@@ -95,9 +95,10 @@ namespace octave
 
   void go_properties_table_view::mousePressEvent (QMouseEvent *ev)
   {
-    if (m_hl_dg)
+    if (m_hl_dg && m_hl_dg->mouse_press_event (ev))
       {
-        m_hl_dg->mouse_press_event (ev);
+        ev->accept ();
+        return;
       }
     QTableView::mousePressEvent (ev);
   }
# HG changeset patch
# User Remi Thebault <remi.thebault@gmail.com>
# Date 1606040322 -3600
#      Sun Nov 22 11:18:42 2020 +0100
# Node ID 641f215e7793b17193c785694ee47a163567c8e9
# Parent  bfb54774df320340ce21037198b452829ce4357d
property_inspector saves dock settings on exit

diff --git a/libgui/src/main-window.cc b/libgui/src/main-window.cc
--- a/libgui/src/main-window.cc
+++ b/libgui/src/main-window.cc
@@ -2019,6 +2019,9 @@ namespace octave
              m_variable_editor_window, SLOT (save_settings (void)));
 
     connect (qApp, SIGNAL (aboutToQuit (void)),
+             m_property_inspector_window, SLOT (save_settings (void)));
+
+    connect (qApp, SIGNAL (aboutToQuit (void)),
              this, SLOT (prepare_to_exit (void)));
 
     connect (qApp, SIGNAL (focusChanged (QWidget*, QWidget*)),
# HG changeset patch
# User Remi Thebault <remi.thebault@gmail.com>
# Date 1606040342 -3600
#      Sun Nov 22 11:19:02 2020 +0100
# Node ID 5a0d18513e3ceadebe19d197f01f443eb9c53fe3
# Parent  641f215e7793b17193c785694ee47a163567c8e9
fix setup of property inspector shortcuts

diff --git a/libgui/src/shortcut-manager.cc b/libgui/src/shortcut-manager.cc
--- a/libgui/src/shortcut-manager.cc
+++ b/libgui/src/shortcut-manager.cc
@@ -172,6 +172,7 @@ namespace octave
     init (tr ("Show Editor"), sc_main_window_show_editor);
     init (tr ("Show Documentation"), sc_main_window_show_doc);
     init (tr ("Show Variable Editor"), sc_main_window_show_variable_editor);
+    init (tr ("Show Property Inspector"), sc_main_window_show_property_inspector);
     init (tr ("Command Window"), sc_main_window_command);
     init (tr ("Command History"), sc_main_window_history);
     init (tr ("File Browser"), sc_main_window_file_browser);
@@ -179,6 +180,7 @@ namespace octave
     init (tr ("Editor"), sc_main_window_editor);
     init (tr ("Documentation"), sc_main_window_doc);
     init (tr ("Variable Editor"), sc_main_window_variable_editor);
+    init (tr ("Property Inspector"), sc_main_window_property_inspector);
     init (tr ("Previous Widget"), sc_main_window_previous_dock);
     init (tr ("Reset Default Window Layout"), sc_main_window_reset);
 
# HG changeset patch
# User Remi Thebault <remi.thebault@gmail.com>
# Date 1606055699 -3600
#      Sun Nov 22 15:34:59 2020 +0100
# Node ID 280a8da4af4d7075b67802198d9c8c383a3d0580
# Parent  5a0d18513e3ceadebe19d197f01f443eb9c53fe3
property inspector introduce settings

 - alternative row colors for tree and table
 - row height for the table

diff --git a/libgui/src/gui-preferences-all.h b/libgui/src/gui-preferences-all.h
--- a/libgui/src/gui-preferences-all.h
+++ b/libgui/src/gui-preferences-all.h
@@ -37,6 +37,7 @@
 #include "gui-preferences-mw.h"
 #include "gui-preferences-nr.h"
 #include "gui-preferences-pd.h"
+#include "gui-preferences-pi.h"
 #include "gui-preferences-ve.h"
 #include "gui-preferences-sc.h"
 #include "gui-preferences-sd.h"
diff --git a/libgui/src/gui-preferences-pi.h b/libgui/src/gui-preferences-pi.h
new file mode 100644
--- /dev/null
+++ b/libgui/src/gui-preferences-pi.h
@@ -0,0 +1,45 @@
+////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2017-2020 The Octave Project Developers
+//
+// See the file COPYRIGHT.md in the top-level directory of this
+// distribution or <https://octave.org/copyright/>.
+//
+// This file is part of Octave.
+//
+// Octave is free software: you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Octave is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Octave; see the file COPYING.  If not, see
+// <https://www.gnu.org/licenses/>.
+//
+////////////////////////////////////////////////////////////////////////
+
+#if ! defined (octave_gui_preferences_pi_h)
+#define octave_gui_preferences_pi_h 1
+
+#include "gui-preferences.h"
+
+#include <QApplication>
+
+// Variable Editor preferences
+
+const gui_pref
+pi_tree_alternate_rows ("property_inspector/tree_alternate_rows", QVariant (false));
+
+const gui_pref
+pi_table_row_height ("property_inspector/table_row_height", QVariant ());
+
+const gui_pref
+pi_table_alternate_rows ("property_inspector/table_alternate_rows", QVariant (false));
+
+
+#endif // octave_gui_preferences_pi_h
diff --git a/libgui/src/module.mk b/libgui/src/module.mk
--- a/libgui/src/module.mk
+++ b/libgui/src/module.mk
@@ -204,6 +204,7 @@ noinst_HEADERS += \
   %reldir%/gui-preferences-mw.h \
   %reldir%/gui-preferences-nr.h \
   %reldir%/gui-preferences-pd.h \
+  %reldir%/gui-preferences-pi.h \
   %reldir%/gui-preferences-sc.h \
   %reldir%/gui-preferences-sd.h \
   %reldir%/gui-preferences-ve.h \
diff --git a/libgui/src/property-inspector-table.cc b/libgui/src/property-inspector-table.cc
--- a/libgui/src/property-inspector-table.cc
+++ b/libgui/src/property-inspector-table.cc
@@ -49,11 +49,12 @@
 #include "graphics.h"
 #include "interpreter.h"
 
+#include "gui-preferences-pi.h"
+#include "gui-settings.h"
+#include "item-hyperlink-delegate.h"
 #include "octave-qobject.h"
+#include "property-inspector-table.h"
 #include "qt-application.h"
-
-#include "item-hyperlink-delegate.h"
-#include "property-inspector-table.h"
 #include "ui-property-inspector-color-editor.h"
 
 namespace octave
@@ -598,15 +599,22 @@ namespace octave
 
   go_properties_item_delegate::go_properties_item_delegate (
       QObject *p, base_qobject &oct_qobj, QTableView *view,
-      item_hyperlink_delegate *hl_dg)
+      item_hyperlink_delegate *hl_dg, const gui_settings *settings)
       : QStyledItemDelegate (p),
         m_oct_qobj (oct_qobj), m_view{ view }, m_hl_dg{ hl_dg }
   {
+    m_default_row_height = settings->value (pi_table_row_height).toInt ();
     QObject::connect (this, &go_properties_item_delegate::layoutWillChange,
                       m_view, &QTableView::resizeRowToContents,
                       Qt::QueuedConnection);
   }
 
+  void
+  go_properties_item_delegate::notice_settings (const gui_settings *settings)
+  {
+    m_default_row_height = settings->value (pi_table_row_height).toInt ();
+  }
+
   inline int color_int_comp (const double comp)
   {
     return static_cast<int> (
@@ -620,7 +628,8 @@ namespace octave
                    color_int_comp (b) };
   }
 
-  constexpr int color_cell_padding = 6;
+  constexpr int color_cell_vpadding = 3;
+  constexpr int color_cell_hpadding = 6;
   constexpr int color_cell_spacing = 6;
   constexpr int color_cell_icon_width = 30;
   constexpr int color_cell_icon_height = 15;
@@ -635,14 +644,12 @@ namespace octave
         if (m.cols () != 3)
           return;
 
-        constexpr int padding = color_cell_padding;
-        constexpr int spacing = color_cell_spacing;
-
         painter->save ();
 
         int dy = (option.rect.height () - color_cell_icon_height) / 2;
 
-        QRect iconRect = option.rect.adjusted (padding, dy, 0, -dy);
+        QRect iconRect
+            = option.rect.adjusted (color_cell_hpadding, dy, 0, -dy);
         iconRect.setWidth (color_cell_icon_width);
 
         const auto color = color_from_doubles (m (0, 0), m (0, 1), m (0, 2));
@@ -660,7 +667,8 @@ namespace octave
         dy = (option.rect.height () - textBoundingRect.height ()) / 2;
 
         const auto textRect = option.rect.adjusted (
-            padding + spacing + color_cell_icon_width, dy, -padding, -dy);
+            color_cell_hpadding + color_cell_spacing + color_cell_icon_width,
+            dy, -color_cell_hpadding, -dy);
 
         const auto role = option.state.testFlag (QStyle::State_Selected)
                               ? QPalette::HighlightedText
@@ -672,6 +680,8 @@ namespace octave
       }
   }
 
+  constexpr int hpadding = 3;
+
   void go_properties_item_delegate::paint (QPainter *painter,
                                            const QStyleOptionViewItem &option,
                                            const QModelIndex &index) const
@@ -698,14 +708,16 @@ namespace octave
             const auto orig = option.rect.topLeft ();
             const int h = option.rect.height () / matrix.rows ();
             const int w = option.rect.width () / matrix.cols ();
-            const auto align = Qt::AlignHCenter | Qt::AlignVCenter;
+            const auto alignModel = index.data (Qt::TextAlignmentRole);
+            const auto align = alignModel.isValid () ? alignModel.toInt ()
+                                                     : Qt::AlignCenter;
 
             for (int r = 0; r < matrix.rows (); r++)
               {
                 for (int c = 0; c < matrix.cols (); c++)
                   {
-                    const auto tl = orig + QPoint (w * c, h * r);
-                    const auto rect = QRect (tl, QSize (w, h));
+                    const auto tl = orig + QPoint (w * c + hpadding, h * r);
+                    const auto rect = QRect (tl, QSize (w - 2 * hpadding, h));
                     auto role = QPalette::NoRole;
                     if (option.state.testFlag (QStyle::State_Selected))
                       {
@@ -746,8 +758,7 @@ namespace octave
   go_properties_item_delegate::sizeHint (const QStyleOptionViewItem &option,
                                          const QModelIndex &index) const
   {
-    constexpr auto minRowH = 32;
-    constexpr auto padding = 4;
+    const auto minRowH = m_default_row_height;
 
     if (index.column () == COL_VALUE)
       {
@@ -762,9 +773,9 @@ namespace octave
                 auto m = cp->rgb ();
                 auto text = array_display_string (m);
                 auto textRect = option.fontMetrics.boundingRect (text);
-                return QSize (2 * color_cell_padding + color_cell_spacing
+                return QSize (2 * color_cell_hpadding + color_cell_spacing
                                   + color_cell_icon_width + textRect.width (),
-                              2 * color_cell_padding + textRect.height ());
+                              2 * color_cell_vpadding + textRect.height ());
               }
           }
         else if (specific_matrix_item (prop))
@@ -784,8 +795,8 @@ namespace octave
                     maxH = std::max (maxH, rct.height ());
                   }
               }
-            maxW += 2 * padding;
-            maxH += 2 * padding;
+
+            maxW += 2 * hpadding;
 
             return QSize (
                 maxW * matrix.cols (),
diff --git a/libgui/src/property-inspector-table.h b/libgui/src/property-inspector-table.h
--- a/libgui/src/property-inspector-table.h
+++ b/libgui/src/property-inspector-table.h
@@ -48,6 +48,7 @@ class Ui_color_editor_widget;
 namespace octave
 {
   class base_qobject;
+  class gui_settings;
   class item_hyperlink_delegate;
 
   class go_properties_table_view : public QTableView
@@ -107,9 +108,12 @@ namespace octave
   public:
     go_properties_item_delegate (QObject *parent, base_qobject &oct_qobj,
                                  QTableView *view,
-                                 item_hyperlink_delegate *hl_dg);
+                                 item_hyperlink_delegate *hl_dg,
+                                 const gui_settings *settings);
     ~go_properties_item_delegate () = default;
 
+    void notice_settings (const gui_settings *settings);
+
     // painting
     void paint (QPainter *painter, const QStyleOptionViewItem &option,
                 const QModelIndex &index) const override;
@@ -143,6 +147,8 @@ namespace octave
     base_qobject &m_oct_qobj;
     QTableView *m_view;
     item_hyperlink_delegate *m_hl_dg;
+    int m_default_row_height;
+
     mutable QSize m_former_size;
   };
 
diff --git a/libgui/src/property-inspector.cc b/libgui/src/property-inspector.cc
--- a/libgui/src/property-inspector.cc
+++ b/libgui/src/property-inspector.cc
@@ -32,12 +32,15 @@
 #include <QTableView>
 #include <QTreeView>
 
+#include "gui-preferences-pi.h"
+#include "gui-settings.h"
 #include "item-hyperlink-delegate.h"
 #include "octave-qobject.h"
 #include "property-inspector-table.h"
 #include "property-inspector-tree.h"
 #include "property-inspector.h"
 #include "qt-application.h"
+#include "resource-manager.h"
 
 namespace octave
 {
@@ -54,6 +57,9 @@ namespace octave
     setWindowIcon (QIcon (":/actions/icons/logo.png"));
     setAttribute (Qt::WA_AlwaysShowToolTips);
 
+    // setting widget layout
+    m_tree->setUniformRowHeights (true);
+
     m_splitter->addWidget (m_tree);
     m_splitter->addWidget (m_table);
     m_splitter->setChildrenCollapsible (true);
@@ -62,10 +68,35 @@ namespace octave
 
     setWidget (m_splitter);
 
+    // read preferences
+    resource_manager &rmgr = m_octave_qobj.get_resource_manager ();
+    gui_settings *settings = rmgr.get_settings ();
+
+    const auto table_row_height = settings->value (pi_table_row_height);
+    if (table_row_height.isValid ())
+      {
+        // m_table->verticalHeader ()->setDefaultSectionSize (
+        //     table_row_height_pref.toInt ());
+      }
+    else
+      {
+        settings->setValue (
+            pi_table_row_height.key,
+            QVariant (m_table->verticalHeader ()->defaultSectionSize ()));
+      }
+
+    m_tree->setAlternatingRowColors (
+        settings->value (pi_tree_alternate_rows).toBool ());
+    m_table->setAlternatingRowColors (
+        settings->value (pi_table_alternate_rows).toBool ());
+
     auto *table_hl_dg = new item_hyperlink_delegate (this, m_table);
+
+    m_table_delegate = new go_properties_item_delegate (
+        this, m_octave_qobj, m_table, table_hl_dg, settings);
+
     m_table->set_hl_delegate (table_hl_dg);
-    m_table->setItemDelegate (new go_properties_item_delegate (
-        this, m_octave_qobj, m_table, table_hl_dg));
+    m_table->setItemDelegate (m_table_delegate);
 
     if (oct_qobj.app_context ().interpreter_initialized ())
       {
@@ -81,6 +112,37 @@ namespace octave
 
   property_inspector::~property_inspector () = default;
 
+  void property_inspector::notice_settings (const gui_settings *settings)
+  {
+    // m_table->verticalHeader ()->setDefaultSectionSize (
+    //     settings->value (pi_table_row_height).toInt ());
+    m_tree->setAlternatingRowColors (
+        settings->value (pi_tree_alternate_rows).toBool ());
+    m_table->setAlternatingRowColors (
+        settings->value (pi_table_alternate_rows).toBool ());
+
+    m_table_delegate->notice_settings (settings);
+
+    octave_dock_widget::notice_settings (settings);
+
+    m_table->resizeRowsToContents();
+  }
+
+  void property_inspector::save_settings ()
+  {
+    // resource_manager &rmgr = m_octave_qobj.get_resource_manager ();
+    // gui_settings *settings = rmgr.get_settings ();
+
+    // settings->setValue (pi_table_row_height.key,
+    //                     m_table->verticalHeader ()->defaultSectionSize ());
+    // settings->setValue (pi_table_alternate_rows.key,
+    //                     m_table->alternatingRowColors ());
+    // settings->setValue (pi_tree_alternate_rows.key,
+    //                     m_tree->alternatingRowColors ());
+
+    octave_dock_widget::save_settings ();
+  }
+
   void property_inspector::initialize_models ()
   {
     m_tree_model = new go_tree_model (this, m_octave_qobj);
diff --git a/libgui/src/property-inspector.h b/libgui/src/property-inspector.h
--- a/libgui/src/property-inspector.h
+++ b/libgui/src/property-inspector.h
@@ -24,11 +24,11 @@
 ////////////////////////////////////////////////////////////////////////
 
 #if !defined(octave_property_inspector_h)
-#  define octave_property_inspector_h 1
+#define octave_property_inspector_h 1
 
 #include <memory>
 
-#  include "octave-dock-widget.h"
+#include "octave-dock-widget.h"
 
 class QSplitter;
 class QTreeView;
@@ -40,6 +40,7 @@ namespace octave
   class go_tree_model;
   class go_properties_table_model;
   class go_properties_table_view;
+  class go_properties_item_delegate;
 
   class property_inspector : public octave_dock_widget
   {
@@ -56,6 +57,12 @@ namespace octave
 
     property_inspector &operator= (const property_inspector &) = delete;
 
+  public slots:
+
+    virtual void notice_settings (const gui_settings *) override;
+
+    void save_settings ();
+
   private slots:
 
     // we need the interpreter ready, so we defer this to a slot.
@@ -68,8 +75,10 @@ namespace octave
     QSplitter *m_splitter;
     QTreeView *m_tree;
     go_properties_table_view *m_table;
+    go_properties_item_delegate *m_table_delegate;
 
     go_tree_model *m_tree_model;
+    // the table is often switched, so it is easier to put it in unique_ptr
     std::unique_ptr<go_properties_table_model> m_table_model;
   };
 }
diff --git a/libgui/src/settings-dialog.cc b/libgui/src/settings-dialog.cc
--- a/libgui/src/settings-dialog.cc
+++ b/libgui/src/settings-dialog.cc
@@ -451,6 +451,11 @@ namespace octave
     // variable editor colors
     read_varedit_colors (settings);
 
+    // property inspector
+    pi_treeAlternateRows->setChecked(settings->value(pi_tree_alternate_rows).toBool());
+    pi_tableRowHeight->setValue(settings->value(pi_table_row_height).toInt());
+    pi_tableAlternateRows->setChecked(settings->value(pi_table_alternate_rows).toBool());
+
     // shortcuts
 
     shortcut_manager& scmgr = m_octave_qobj.get_shortcut_manager ();
@@ -1069,6 +1074,11 @@ namespace octave
     settings->setValue (ve_font_size.key, varedit_fontSize->value ());
     write_varedit_colors (settings);
 
+    // Property inspector
+    settings->setValue(pi_tree_alternate_rows.key, pi_treeAlternateRows->isChecked());
+    settings->setValue(pi_table_alternate_rows.key, pi_tableAlternateRows->isChecked());
+    settings->setValue(pi_table_row_height.key, pi_tableRowHeight->value());
+
     // shortcuts
 
     settings->setValue (sc_prevent_rl_conflicts.key, cb_prevent_readline_conflicts->isChecked ());
diff --git a/libgui/src/settings-dialog.ui b/libgui/src/settings-dialog.ui
--- a/libgui/src/settings-dialog.ui
+++ b/libgui/src/settings-dialog.ui
@@ -22,8 +22,8 @@
   <property name="windowTitle">
    <string>Preferences</string>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout_2">
-   <item>
+  <layout class="QGridLayout" name="gridLayout_25">
+   <item row="0" column="0">
     <widget class="QTabWidget" name="tabWidget">
      <property name="minimumSize">
       <size>
@@ -32,7 +32,7 @@
       </size>
      </property>
      <property name="currentIndex">
-      <number>7</number>
+      <number>0</number>
      </property>
      <widget class="QWidget" name="tab_general">
       <property name="enabled">
@@ -843,7 +843,7 @@
             <x>0</x>
             <y>0</y>
             <width>1021</width>
-            <height>1529</height>
+            <height>1528</height>
            </rect>
           </property>
           <layout class="QVBoxLayout" name="verticalLayout_16">
@@ -2609,6 +2609,91 @@
        </item>
       </layout>
      </widget>
+     <widget class="QWidget" name="tab_pi">
+      <attribute name="title">
+       <string>Property Inspector</string>
+      </attribute>
+      <layout class="QGridLayout" name="gridLayout_26">
+       <item row="0" column="0">
+        <widget class="QGroupBox" name="groupBox_14">
+         <property name="title">
+          <string>Graphics objects tree</string>
+         </property>
+         <layout class="QGridLayout" name="gridLayout_6">
+          <item row="0" column="0" colspan="2">
+           <widget class="QCheckBox" name="pi_treeAlternateRows">
+            <property name="text">
+             <string>Alternate row colors</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+       <item row="0" column="1">
+        <widget class="QGroupBox" name="groupBox_15">
+         <property name="title">
+          <string>Graphics properties table</string>
+         </property>
+         <layout class="QGridLayout" name="gridLayout_24">
+          <item row="0" column="1">
+           <widget class="QSpinBox" name="pi_tableRowHeight">
+            <property name="minimumSize">
+             <size>
+              <width>80</width>
+              <height>0</height>
+             </size>
+            </property>
+            <property name="value">
+             <number>32</number>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="0" colspan="3">
+           <widget class="QCheckBox" name="pi_tableAlternateRows">
+            <property name="text">
+             <string>Alternate row colors</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="0">
+           <widget class="QLabel" name="label_4">
+            <property name="text">
+             <string>Default row height</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+       <item row="1" column="0" colspan="2">
+        <spacer name="verticalSpacer_8">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>40</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item row="0" column="2">
+        <spacer name="horizontalSpacer_33">
+         <property name="orientation">
+          <enum>Qt::Horizontal</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>40</width>
+           <height>20</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+      </layout>
+     </widget>
      <widget class="QWidget" name="tab_shortcuts">
       <attribute name="title">
        <string>Shortcuts</string>
@@ -2764,15 +2849,15 @@
                  <attribute name="headerCascadingSectionResizes">
                   <bool>false</bool>
                  </attribute>
+                 <attribute name="headerMinimumSectionSize">
+                  <number>64</number>
+                 </attribute>
                  <attribute name="headerDefaultSectionSize">
                   <number>120</number>
                  </attribute>
                  <attribute name="headerHighlightSections">
                   <bool>false</bool>
                  </attribute>
-                 <attribute name="headerMinimumSectionSize">
-                  <number>64</number>
-                 </attribute>
                  <attribute name="headerStretchLastSection">
                   <bool>true</bool>
                  </attribute>
@@ -2996,7 +3081,7 @@
      </widget>
     </widget>
    </item>
-   <item>
+   <item row="1" column="0">
     <widget class="QDialogButtonBox" name="button_box">
      <property name="standardButtons">
       <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
# HG changeset patch
# User Remi Thebault <remi.thebault@gmail.com>
# Date 1606058934 -3600
#      Sun Nov 22 16:28:54 2020 +0100
# Node ID 9f876afecadc87ea3b9027c13dae1c0f6d0d8c73
# Parent  280a8da4af4d7075b67802198d9c8c383a3d0580
property inspector splitter shows a handle

(or kind of)

diff --git a/libgui/src/icons/hsplitter-handle.png b/libgui/src/icons/hsplitter-handle.png
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..3247c8d0a32ec0d2218c47458f2dab026310e61f
GIT binary patch
diff --git a/libgui/src/icons/hsplitter-handle.svg b/libgui/src/icons/hsplitter-handle.svg
new file mode 100644
--- /dev/null
+++ b/libgui/src/icons/hsplitter-handle.svg
@@ -0,0 +1,1900 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="7"
+   height="75"
+   viewBox="0 0 1.8520833 19.843752"
+   version="1.1"
+   id="svg8"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
+   sodipodi:docname="hsplitter-handle.svg"
+   inkscape:export-filename="/home/remi/dev/octave/libgui/src/icons/hsplitter-handle.png"
+   inkscape:export-xdpi="96"
+   inkscape:export-ydpi="96">
+  <defs
+     id="defs2" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="7.9195959"
+     inkscape:cx="15.056921"
+     inkscape:cy="43.499151"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     inkscape:document-rotation="0"
+     showgrid="false"
+     units="px"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata5">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Calque 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <rect
+       style="fill:#808080;stroke-width:0.381027"
+       id="rect841"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="0" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="-2.7755576e-17" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="0" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875001"
+       y="0" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="0.26458335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375005"
+       y="0.26458335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229167"
+       y="0.26458335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="0.5291667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="0.5291667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="0.5291667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875001"
+       y="0.5291667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="0.79375005" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="0.79375005" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="0.79375005" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="1.0583334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="1.0583334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="1.0583334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="1.0583334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="1.3229167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375005"
+       y="1.3229167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229167"
+       y="1.3229167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="1.5875001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="1.5875001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="1.5875001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="1.5875001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="1.8520834" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="1.8520834" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="1.8520834" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-12"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="2.1166668" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="2.1166668" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583336"
+       y="2.1166668" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="2.1166668" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="2.3812501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375005"
+       y="2.3812501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229167"
+       y="2.3812501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="2.6458335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="2.6458335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583336"
+       y="2.6458335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="2.6458335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="2.9104168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="2.9104168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229172"
+       y="2.9104168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="3.1750002" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="3.1750002" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583336"
+       y="3.1750002" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="3.1750002" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-0-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="3.4395833" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-2-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375005"
+       y="3.4395833" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-3-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229167"
+       y="3.4395833" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-5-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="3.7041669" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-9-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="3.7041669" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-2-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583336"
+       y="3.7041669" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-2-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="3.7041669" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-9-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="3.96875" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-7-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="3.96875" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-3-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229172"
+       y="3.96875" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="4.2333336" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="4.2333336" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-30"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="4.2333336" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-78"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875001"
+       y="4.2333336" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="4.4979167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-84"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="4.4979167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-31"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="4.4979167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="4.7625003" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="4.7625003" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="4.7625003" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875001"
+       y="4.7625003" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="5.0270839" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="5.0270839" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="5.0270839" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="5.291667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="5.291667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="5.291667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="5.291667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-0-71"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="5.5562501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-2-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="5.5562501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-3-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="5.5562501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-5-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="5.8208337" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-9-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="5.8208337" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-2-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="5.8208337" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-2-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="5.8208337" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-9-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="6.0854168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-7-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="6.0854168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-3-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="6.0854168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-12-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="6.3500004" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-9-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="6.3500004" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-3-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="6.3500004" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-1-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="6.3500004" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-7-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="6.6145835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-8-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="6.6145835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-4-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="6.6145835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-0-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="6.8791671" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-3-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="6.8791671" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-6-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="6.8791671" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-1-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="6.8791671" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-6-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="7.1437507" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-3-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="7.1437507" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-2-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229175"
+       y="7.1437507" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2-6-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="7.4083338" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61-1-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="7.4083338" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8-5-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="7.4083338" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7-5-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="7.4083338" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-0-7-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="7.6729169" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-2-6-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="7.6729169" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-3-5-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="7.6729169" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-5-9-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="7.9375005" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-9-3-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="7.9375005" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-2-7-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="7.9375005" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-2-4-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="7.9375005" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-9-2-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="8.2020836" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-7-5-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="8.2020836" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-3-4-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229175"
+       y="8.2020836" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="8.4666672" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="8.4666672" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="8.4666672" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-11"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="8.4666672" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="8.7312498" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-848"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="8.7312498" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="8.7312498" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="8.9958334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="8.9958334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="8.9958334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="8.9958334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="9.260417" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-76"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="9.260417" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-31"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="9.260417" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="9.5250006" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="9.5250006" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="9.5250006" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="9.5250006" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-0-78"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="9.7895832" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-2-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="9.7895832" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-3-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="9.7895832" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-5-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="10.054167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-9-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="10.054167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-2-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="10.054167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-2-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="10.054167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-9-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="10.31875" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-7-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="10.31875" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-3-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="10.31875" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-12-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="10.583334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-9-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="10.583334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-3-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="10.583334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-1-96"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="10.583334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-7-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="10.847917" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-8-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="10.847917" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-4-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="10.847917" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-0-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="11.1125" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-3-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="11.1125" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-6-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="11.1125" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-1-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="11.1125" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-6-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="11.377084" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-3-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="11.377084" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-2-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229175"
+       y="11.377084" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2-6-64"
+       width="0.26458335"
+       height="0.26458335"
+       x="0"
+       y="11.641667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61-1-30"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="11.641667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8-5-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="11.641667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7-5-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="11.641667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="11.906251" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375005"
+       y="11.906251" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229167"
+       y="11.906251" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="12.170835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-02"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="12.170835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="12.170835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-61"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875001"
+       y="12.170835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="12.435418" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="12.435418" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="12.435418" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2-59"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="12.700002" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61-91"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="12.700002" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="12.700002" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="12.700002" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-0-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="12.964585" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-2-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375005"
+       y="12.964585" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-3-75"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229167"
+       y="12.964585" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-5-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="13.229168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-9-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="13.229168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-2-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="13.229168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-2-48"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="13.229168" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-9-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="13.493752" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-7-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="13.493752" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-3-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="13.493752" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-12-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="13.758335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-9-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="13.758335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-3-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583336"
+       y="13.758335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-1-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="13.758335" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-7-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="14.022919" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-8-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375005"
+       y="14.022919" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-4-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229167"
+       y="14.022919" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-0-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="14.287501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-3-05"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="14.287501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-6-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583336"
+       y="14.287501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-1-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="14.287501" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-6-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="14.552085" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-3-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="14.552085" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-2-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229172"
+       y="14.552085" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2-6-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="14.816669" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61-1-38"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="14.816669" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8-5-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583336"
+       y="14.816669" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7-5-40"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="14.816669" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-0-7-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="15.081251" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-2-6-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375005"
+       y="15.081251" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-3-5-96"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229167"
+       y="15.081251" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-5-9-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="15.345835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-9-3-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="15.345835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-2-7-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583336"
+       y="15.345835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-2-4-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875003"
+       y="15.345835" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-9-2-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458335"
+       y="15.610418" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-7-5-93"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="15.610418" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-3-4-60"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229172"
+       y="15.610418" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-4-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="15.875001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-4-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="15.875001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-30-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="15.875001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-78-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875001"
+       y="15.875001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-8-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="16.139584" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-84-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="16.139584" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-31-5"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="16.139584" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-9-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="16.404167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-2-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="16.404167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-0-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="16.404167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-6-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875001"
+       y="16.404167" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-2-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="16.668751" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-6-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="16.668751" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-6-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="16.668751" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2-9-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="16.933334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61-5-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="16.933334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8-0-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="16.933334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7-4-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="16.933334" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-0-71-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="17.197916" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-2-7-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="17.197916" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-3-2-1"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="17.197916" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-5-2-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="17.4625" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-9-2-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="17.4625" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-2-6-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583334"
+       y="17.4625" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-2-1-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="17.4625" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-9-6-2"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="17.727083" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-7-1-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="17.727083" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-3-5-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="17.727083" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-12-4-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="17.991667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-9-9-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="17.991667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-3-0-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="17.991667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-1-9-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="17.991667" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-7-7-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="18.25625" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-8-7-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="18.25625" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-4-1-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="18.25625" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-0-5-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="18.520834" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-3-9-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="18.520834" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-6-7-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="18.520834" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-1-7-4"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="18.520834" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-3-6-7-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="18.785418" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-6-3-3-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="18.785418" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-0-2-6-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.3229175"
+       y="18.785418" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-2-6-6-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="19.050001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-61-1-3-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="19.050001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-8-5-9-6"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="19.050001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-7-5-4-8"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="19.050001" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-35-0-7-1-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.26458359"
+       y="19.314583" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-6-2-6-2-9"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.79375029"
+       y="19.314583" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-2-3-5-9-0"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.322917"
+       y="19.314583" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-1-5-9-9-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="2.220446e-16"
+       y="19.579166" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-2-9-3-0-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="0.5291667"
+       y="19.579166" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-6-7-2-7-8-3"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.0583339"
+       y="19.579166" />
+    <rect
+       style="fill:#808080;stroke-width:0.381026"
+       id="rect841-3-7-0-2-4-8-7"
+       width="0.26458335"
+       height="0.26458335"
+       x="1.5875006"
+       y="19.579166" />
+  </g>
+</svg>
diff --git a/libgui/src/module.mk b/libgui/src/module.mk
--- a/libgui/src/module.mk
+++ b/libgui/src/module.mk
@@ -67,6 +67,8 @@ octave_gui_ICONS = \
   %reldir%/icons/graphic_logo_ReleaseWidget.svg \
   %reldir%/icons/graphic_logo_VariableEditor.svg \
   %reldir%/icons/hand2.png \
+  %reldir%/icons/hsplitter-handle.svg \
+  %reldir%/icons/hsplitter-handle.png \
   %reldir%/icons/icons_license \
   %reldir%/icons/left_side.png \
   %reldir%/icons/letter_logo_DocumentationDockWidget.png \
diff --git a/libgui/src/property-inspector.cc b/libgui/src/property-inspector.cc
--- a/libgui/src/property-inspector.cc
+++ b/libgui/src/property-inspector.cc
@@ -64,6 +64,13 @@ namespace octave
     m_splitter->addWidget (m_table);
     m_splitter->setChildrenCollapsible (true);
 
+    // show handle of QSplitter
+    m_splitter->setStyleSheet (
+        "QSplitter::handle:horizontal {"
+        "  image: url(:/actions/icons/hsplitter-handle.png)"
+        "}");
+    m_splitter->setHandleWidth(7);
+
     m_splitter->setSizes (QIntList{ 300, 600 });
 
     setWidget (m_splitter);
@@ -125,7 +132,7 @@ namespace octave
 
     octave_dock_widget::notice_settings (settings);
 
-    m_table->resizeRowsToContents();
+    m_table->resizeRowsToContents ();
   }
 
   void property_inspector::save_settings ()
diff --git a/libgui/src/resource.qrc b/libgui/src/resource.qrc
--- a/libgui/src/resource.qrc
+++ b/libgui/src/resource.qrc
@@ -59,6 +59,7 @@
         <file>icons/graphic_logo_VariableEditor.png</file>
         <file>icons/fleur.png</file>
         <file>icons/hand2.png</file>
+        <file>icons/hsplitter-handle.png</file>
         <file>icons/left_side.png</file>
         <file>icons/letter_logo_FilesDockWidget.png</file>
         <file>icons/letter_logo_FileEditor.png</file>
# HG changeset patch
# User Remi Thebault <remi.thebault@gmail.com>
# Date 1606061349 -3600
#      Sun Nov 22 17:09:09 2020 +0100
# Node ID 68b4e6384ba08c83c7353f5e86eb1dbbb78c99ab
# Parent  9f876afecadc87ea3b9027c13dae1c0f6d0d8c73
property inspector saves column widths

diff --git a/libgui/src/gui-preferences-pi.h b/libgui/src/gui-preferences-pi.h
--- a/libgui/src/gui-preferences-pi.h
+++ b/libgui/src/gui-preferences-pi.h
@@ -23,23 +23,37 @@
 //
 ////////////////////////////////////////////////////////////////////////
 
-#if ! defined (octave_gui_preferences_pi_h)
+#if !defined(octave_gui_preferences_pi_h)
 #define octave_gui_preferences_pi_h 1
 
 #include "gui-preferences.h"
 
 #include <QApplication>
+#include <QList>
 
-// Variable Editor preferences
+// Property Inspector preferences
 
 const gui_pref
-pi_tree_alternate_rows ("property_inspector/tree_alternate_rows", QVariant (false));
+    pi_tree_alternate_rows ("property_inspector/tree_alternate_rows",
+                            QVariant (false));
+
+const gui_pref pi_table_row_height ("property_inspector/table_row_height",
+                                    QVariant ());
 
 const gui_pref
-pi_table_row_height ("property_inspector/table_row_height", QVariant ());
+    pi_table_alternate_rows ("property_inspector/table_alternate_rows",
+                             QVariant (false));
+
+// preferences that will not appear in the settings dialog
 
-const gui_pref
-pi_table_alternate_rows ("property_inspector/table_alternate_rows", QVariant (false));
+const gui_pref pi_splitter_sizes ("property_inspector/splitter_sizes",
+                                  QVariant (QList<QVariant>{
+                                      QVariant (300), QVariant (600) }));
 
+const gui_pref pi_tree_column_widths ("property_inspector/tree_column_widths",
+                                  QVariant ());
+
+const gui_pref pi_table_column_widths ("property_inspector/table_column_widths",
+                                  QVariant ());
 
 #endif // octave_gui_preferences_pi_h
diff --git a/libgui/src/property-inspector.cc b/libgui/src/property-inspector.cc
--- a/libgui/src/property-inspector.cc
+++ b/libgui/src/property-inspector.cc
@@ -45,6 +45,51 @@
 namespace octave
 {
 
+  // a few helper with QList<QVariant> which is used to store list of sizes
+  // in the preferences
+
+  static QList<QVariant> int_list_to_variants (const QIntList &ints)
+  {
+    QList<QVariant> variants;
+    for (const auto i : ints)
+      {
+        variants.push_back (QVariant (i));
+      }
+    return variants;
+  }
+
+  static QIntList variant_list_to_ints (const QList<QVariant> &variants)
+  {
+    QIntList ints;
+    for (const auto i : variants)
+      {
+        ints.push_back (i.toInt ());
+      }
+    return ints;
+  }
+
+  static void resize_header_sections (QHeaderView *header,
+                                      const QList<QVariant> &widths)
+  {
+    if (header->count () != widths.count ())
+      return;
+
+    for (int s = 0; s < widths.count (); ++s)
+      {
+        header->resizeSection (s, widths[s].toInt ());
+      }
+  }
+
+  static QList<QVariant> get_section_sizes (QHeaderView *header)
+  {
+    QList<QVariant> sizes;
+    for (int s = 0; s < header->count (); ++s)
+      {
+        sizes.push_back (QVariant (header->sectionSize (s)));
+      }
+    return sizes;
+  }
+
   property_inspector::property_inspector (QWidget *p, base_qobject &oct_qobj)
       : octave_dock_widget ("PropertyInspector", p, oct_qobj),
         m_splitter (new QSplitter (Qt::Horizontal, this)),
@@ -69,9 +114,7 @@ namespace octave
         "QSplitter::handle:horizontal {"
         "  image: url(:/actions/icons/hsplitter-handle.png)"
         "}");
-    m_splitter->setHandleWidth(7);
-
-    m_splitter->setSizes (QIntList{ 300, 600 });
+    m_splitter->setHandleWidth (7);
 
     setWidget (m_splitter);
 
@@ -79,13 +122,9 @@ namespace octave
     resource_manager &rmgr = m_octave_qobj.get_resource_manager ();
     gui_settings *settings = rmgr.get_settings ();
 
+    // init table row height preference if it was never done
     const auto table_row_height = settings->value (pi_table_row_height);
-    if (table_row_height.isValid ())
-      {
-        // m_table->verticalHeader ()->setDefaultSectionSize (
-        //     table_row_height_pref.toInt ());
-      }
-    else
+    if (!table_row_height.isValid ())
       {
         settings->setValue (
             pi_table_row_height.key,
@@ -105,6 +144,10 @@ namespace octave
     m_table->set_hl_delegate (table_hl_dg);
     m_table->setItemDelegate (m_table_delegate);
 
+    auto splitter_sizes
+        = settings->value (pi_splitter_sizes).value<QList<QVariant>> ();
+    m_splitter->setSizes (variant_list_to_ints (splitter_sizes));
+
     if (oct_qobj.app_context ().interpreter_initialized ())
       {
         initialize_models ();
@@ -121,8 +164,6 @@ namespace octave
 
   void property_inspector::notice_settings (const gui_settings *settings)
   {
-    // m_table->verticalHeader ()->setDefaultSectionSize (
-    //     settings->value (pi_table_row_height).toInt ());
     m_tree->setAlternatingRowColors (
         settings->value (pi_tree_alternate_rows).toBool ());
     m_table->setAlternatingRowColors (
@@ -137,15 +178,15 @@ namespace octave
 
   void property_inspector::save_settings ()
   {
-    // resource_manager &rmgr = m_octave_qobj.get_resource_manager ();
-    // gui_settings *settings = rmgr.get_settings ();
+    resource_manager &rmgr = m_octave_qobj.get_resource_manager ();
+    gui_settings *settings = rmgr.get_settings ();
 
-    // settings->setValue (pi_table_row_height.key,
-    //                     m_table->verticalHeader ()->defaultSectionSize ());
-    // settings->setValue (pi_table_alternate_rows.key,
-    //                     m_table->alternatingRowColors ());
-    // settings->setValue (pi_tree_alternate_rows.key,
-    //                     m_tree->alternatingRowColors ());
+    settings->setValue (pi_splitter_sizes.key,
+                        int_list_to_variants (m_splitter->sizes ()));
+    settings->setValue (pi_tree_column_widths.key,
+                        get_section_sizes (m_tree->header ()));
+    settings->setValue (pi_table_column_widths.key,
+                        get_section_sizes (m_table->horizontalHeader ()));
 
     octave_dock_widget::save_settings ();
   }
@@ -159,7 +200,18 @@ namespace octave
       delete old_model;
 
     // give the first column some space
-    m_tree->header ()->resizeSection (0, 150);
+    if (m_tree->header ()->sectionSize (0) < 150)
+      m_tree->header ()->resizeSection (0, 150);
+
+    resource_manager &rmgr = m_octave_qobj.get_resource_manager ();
+    gui_settings *settings = rmgr.get_settings ();
+
+    auto widths_settings = settings->value (pi_tree_column_widths);
+    if (widths_settings.isValid ())
+      {
+        resize_header_sections (m_tree->header (),
+                                widths_settings.value<QList<QVariant>> ());
+      }
 
     QObject::connect (m_tree->selectionModel (),
                       &QItemSelectionModel::currentChanged, this,
@@ -179,9 +231,22 @@ namespace octave
         nullptr, m_octave_qobj, go);
 
     m_table->setModel (new_model.get ());
-    m_table->resizeColumnsToContents ();
     m_table->resizeRowsToContents ();
 
+    resource_manager &rmgr = m_octave_qobj.get_resource_manager ();
+    gui_settings *settings = rmgr.get_settings ();
+
+    auto widths_settings = settings->value (pi_table_column_widths);
+    if (widths_settings.isValid ())
+      {
+        resize_header_sections (m_table->horizontalHeader (),
+                                widths_settings.value<QList<QVariant>> ());
+      }
+    else
+      {
+        m_table->resizeColumnsToContents ();
+      }
+
     if (prev_model && prev_model != m_table_model.get ())
       {
         // initial empty model placed by Qt - we don't need it anymore
# HG changeset patch
# User Remi Thebault <remi.thebault@gmail.com>
# Date 1606061373 -3600
#      Sun Nov 22 17:09:33 2020 +0100
# Node ID fd4650833ff8b135f1d774e654fd38dea108b6a6
# Parent  68b4e6384ba08c83c7353f5e86eb1dbbb78c99ab
fix typo

diff --git a/libgui/src/property-inspector-color-editor.ui b/libgui/src/property-inspector-color-editor.ui
--- a/libgui/src/property-inspector-color-editor.ui
+++ b/libgui/src/property-inspector-color-editor.ui
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>277</width>
-    <height>179</height>
+    <height>185</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -144,7 +144,7 @@
          </sizepolicy>
         </property>
         <property name="text">
-         <string>RBG</string>
+         <string>RGB</string>
         </property>
        </widget>
       </item>
