diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-09-28 18:37:00 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-09-28 18:37:00 -0400 |
commit | 2da234d70d09b213e2837c08fc09e5dd40ee5660 (patch) | |
tree | 6a45cb8ef0b425fbd255dd9475fbcc76e56f9369 | |
parent | e58ee9ad526b1841c28920101e00326c5c74bb0c (diff) | |
download | gtk+-2da234d70d09b213e2837c08fc09e5dd40ee5660.tar.gz |
Reshuffle the recorder ui a bit
Make it possible to see the properties and the rendering at
the same time, it makes navigating easier.
-rw-r--r-- | gtk/inspector/recorder.ui | 105 |
1 files changed, 49 insertions, 56 deletions
diff --git a/gtk/inspector/recorder.ui b/gtk/inspector/recorder.ui index 26d92fafa7..bed11b7eee 100644 --- a/gtk/inspector/recorder.ui +++ b/gtk/inspector/recorder.ui @@ -39,14 +39,6 @@ </object> </child> <child> - <object class="GtkStackSwitcher"> - <property name="visible">1</property> - <property name="stack">render_stack</property> - <property name="hexpand">1</property> - <property name="halign">center</property> - </object> - </child> - <child> <object class="GtkButton" id="render_node_save_button"> <property name="visible">1</property> <property name="relief">none</property> @@ -131,66 +123,67 @@ </child> <child> <object class="GtkFrame"> - <property name="visible">True</property> + <property name="visible">1</property> <child> - <object class="GtkStack" id="render_stack"> - <property name="visible">True</property> - <child> - <object class="GtkRenderNodeView" id="render_node_view"> - <property name="visible">True</property> - <property name="expand">True</property> - </object> - <packing> - <property name="name">render</property> - <property name="title" translatable="yes">Render</property> - </packing> - </child> + <object class="GtkPaned" id="render_paned"> + <property name="visible">1</property> + <property name="orientation">vertical</property> + <property name="position">300</property> + <property name="wide-handle">1</property> <child> - <object class="GtkTreeView" id="node_property_tree"> - <property name="visible">True</property> - <signal name="row-activated" handler="node_property_activated"/> - <child> - <object class="GtkTreeViewColumn"> - <property name="title" translatable="yes">Property</property> - <child> - <object class="GtkCellRendererText"> - <property name="yalign">0</property> - </object> - <attributes> - <attribute name="text">0</attribute> - </attributes> - </child> - </object> - </child> + <object class="GtkScrolledWindow"> + <property name="visible">1</property> <child> - <object class="GtkTreeViewColumn"> - <property name="title" translatable="yes">Value</property> + <object class="GtkTreeView" id="node_property_tree"> + <property name="visible">1</property> + <property name="activate-on-single-click">1</property> + <signal name="row-activated" handler="node_property_activated"/> <child> - <object class="GtkCellRendererText"> - <property name="yalign">0</property> - <property name="wrap-mode">word</property> - <property name="max-width-chars">50</property> + <object class="GtkTreeViewColumn"> + <property name="title" translatable="yes">Property</property> + <child> + <object class="GtkCellRendererText"> + <property name="yalign">0</property> + </object> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> </object> - <attributes> - <attribute name="text">1</attribute> - </attributes> </child> <child> - <object class="GtkCellRendererPixbuf"> - <property name="xalign">0</property> + <object class="GtkTreeViewColumn"> + <property name="title" translatable="yes">Value</property> + <child> + <object class="GtkCellRendererText"> + <property name="yalign">0</property> + <property name="wrap-mode">word</property> + <property name="max-width-chars">50</property> + </object> + <attributes> + <attribute name="text">1</attribute> + </attributes> + </child> + <child> + <object class="GtkCellRendererPixbuf"> + <property name="xalign">0</property> + </object> + <attributes> + <attribute name="visible">2</attribute> + <attribute name="surface">3</attribute> + </attributes> + </child> </object> - <attributes> - <attribute name="visible">2</attribute> - <attribute name="surface">3</attribute> - </attributes> </child> </object> </child> </object> - <packing> - <property name="name">properties</property> - <property name="title" translatable="yes">Properties</property> - </packing> + </child> + <child> + <object class="GtkRenderNodeView" id="render_node_view"> + <property name="visible">True</property> + <property name="expand">True</property> + </object> </child> </object> </child> |