diff --git a/modules/inspector/prop-list.c b/modules/inspector/prop-list.c
index 6c78777ddc..68d507432f 100644
--- a/modules/inspector/prop-list.c
+++ b/modules/inspector/prop-list.c
@@ -53,9 +53,10 @@ struct _GtkInspectorPropListPrivate
GtkCellRenderer *value_renderer;
gboolean child_properties;
GtkTreeViewColumn *attribute_column;
+ GtkWidget *tree;
};
-G_DEFINE_TYPE_WITH_PRIVATE (GtkInspectorPropList, gtk_inspector_prop_list, GTK_TYPE_TREE_VIEW)
+G_DEFINE_TYPE_WITH_PRIVATE (GtkInspectorPropList, gtk_inspector_prop_list, GTK_TYPE_BOX)
static void
gtk_inspector_prop_list_init (GtkInspectorPropList *pl)
@@ -143,6 +144,7 @@ gtk_inspector_prop_list_class_init (GtkInspectorPropListClass *klass)
gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorPropList, model);
gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorPropList, value_renderer);
gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorPropList, attribute_column);
+ gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorPropList, tree);
}
static void
@@ -214,7 +216,7 @@ gtk_inspector_prop_list_prop_changed_cb (GObject *pspec,
GParamSpec *prop,
GtkInspectorPropList *pl)
{
- GtkTreeIter *iter = g_hash_table_lookup(pl->priv->prop_iters, prop->name);
+ GtkTreeIter *iter = g_hash_table_lookup (pl->priv->prop_iters, prop->name);
if (iter != NULL)
gtk_inspector_prop_list_update_prop (pl, iter, prop);
diff --git a/modules/inspector/prop-list.h b/modules/inspector/prop-list.h
index c9dc42caeb..6552c4ef61 100644
--- a/modules/inspector/prop-list.h
+++ b/modules/inspector/prop-list.h
@@ -38,13 +38,13 @@ typedef struct _GtkInspectorPropListPrivate GtkInspectorPropListPrivate;
typedef struct _GtkInspectorPropList
{
- GtkTreeView parent;
+ GtkBox parent;
GtkInspectorPropListPrivate *priv;
} GtkInspectorPropList;
typedef struct _GtkInspectorPropListClass
{
- GtkTreeViewClass parent;
+ GtkBoxClass parent;
} GtkInspectorPropListClass;
diff --git a/modules/inspector/prop-list.ui b/modules/inspector/prop-list.ui
index 36c16dcf52..d477c75406 100644
--- a/modules/inspector/prop-list.ui
+++ b/modules/inspector/prop-list.ui
@@ -11,73 +11,89 @@
-
- model
- 4
+
+ vertical
-
-
-
- Value
- True
-
-
- 0.8
- True
- 20
- end
-
-
- 1
- 3
- 0
- 5
-
-
-
-
-
-
- Attribute
- True
-
-
- 0.8
- False
-
-
- 6
- 5
-
-
-
-
-
-
- Defined At
-
-
- 0.8
-
-
- 2
- 5
-
diff --git a/modules/inspector/window.ui b/modules/inspector/window.ui
index 7ac4ab43a9..c9b9a47638 100644
--- a/modules/inspector/window.ui
+++ b/modules/inspector/window.ui
@@ -118,19 +118,10 @@
False
True
-
+
True
- automatic
- always
- in
- 250
-
-
- True
- False
- widget_tree
-
-
+ False
+ widget_tree
@@ -140,19 +131,10 @@
-
+
True
- automatic
- always
- in
- 250
-
-
- True
- True
- widget_tree
-
-
+ True
+ widget_tree