inspector: Some ui refinements

Remove pointless expanders from lists, add grid lines and,
in some places, tree lines.
This commit is contained in:
Matthias Clasen 2016-03-05 00:29:06 -05:00
parent fa36f34fcf
commit 360bad6865
7 changed files with 10 additions and 0 deletions

View File

@ -80,6 +80,7 @@
<property name="visible">1</property> <property name="visible">1</property>
<property name="search-column">0</property> <property name="search-column">0</property>
<property name="enable-search">0</property> <property name="enable-search">0</property>
<property name="enable-grid-lines">vertical</property>
<signal name="row-activated" handler="row_activated"/> <signal name="row-activated" handler="row_activated"/>
<signal name="button-press-event" handler="button_pressed"/> <signal name="button-press-event" handler="button_pressed"/>
<child internal-child="selection"> <child internal-child="selection">

View File

@ -27,6 +27,9 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="model">model</property> <property name="model">model</property>
<property name="enable-search">False</property> <property name="enable-search">False</property>
<property name="enable-tree-lines">1</property>
<property name="show-expanders">0</property>
<property name="level-indentation">18</property>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Class Hierarchy</property> <property name="title" translatable="yes">Class Hierarchy</property>

View File

@ -82,6 +82,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="model">model</property> <property name="model">model</property>
<property name="enable-search">False</property> <property name="enable-search">False</property>
<property name="enable-grid-lines">vertical</property>
<signal name="row-activated" handler="on_row_activated"/> <signal name="row-activated" handler="on_row_activated"/>
<child internal-child="selection"> <child internal-child="selection">
<object class="GtkTreeSelection"> <object class="GtkTreeSelection">

View File

@ -83,6 +83,7 @@
<property name="tooltip-column">3</property> <property name="tooltip-column">3</property>
<property name="search-column">0</property> <property name="search-column">0</property>
<property name="enable-search">True</property> <property name="enable-search">True</property>
<property name="enable-grid-lines">vertical</property>
<signal name="row-activated" handler="row_activated"/> <signal name="row-activated" handler="row_activated"/>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkTreeViewColumn">

View File

@ -87,6 +87,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="model">model</property> <property name="model">model</property>
<property name="enable-search">False</property> <property name="enable-search">False</property>
<property name="enable-grid-lines">vertical</property>
<signal name="row-activated" handler="row_activated"/> <signal name="row-activated" handler="row_activated"/>
<child internal-child="selection"> <child internal-child="selection">
<object class="GtkTreeSelection"> <object class="GtkTreeSelection">

View File

@ -27,6 +27,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="model">model</property> <property name="model">model</property>
<property name="enable-search">False</property> <property name="enable-search">False</property>
<property name="show-expanders">False</property>
<property name="level-indentation">18</property>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Selector</property> <property name="title" translatable="yes">Selector</property>

View File

@ -85,6 +85,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="model">model</property> <property name="model">model</property>
<property name="enable-search">False</property> <property name="enable-search">False</property>
<property name="enable-grid-lines">vertical</property>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Name</property> <property name="title" translatable="yes">Name</property>