From 4ebbb19e256db17ee76df7037e0246b7424dd96a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 29 Nov 2017 04:02:24 +0100 Subject: [PATCH] inspector: Reorganize stack There are too many stack elements in the main stack. So add a substack for the pages that display common global state. The appropriate name I found for it was "Global". It's used to house the General, Visual, Resources and Statistics pages for now. --- gtk/inspector/window.ui | 172 +++++++++++++++++++++++----------------- 1 file changed, 99 insertions(+), 73 deletions(-) diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui index 560ae2ef93..9ab57747ba 100644 --- a/gtk/inspector/window.ui +++ b/gtk/inspector/window.ui @@ -67,48 +67,70 @@ - - 0 - Collect Statistics - start - center - media-record-symbolic - - - statistics - - - - - start - center + + - - 0 - Show Details - center - center - dialog-information-symbolic + - list + general - - 0 - Show all Resources - center - center - view-list-symbolic + - details + visual + + + + + start + center + + + 0 + Show Details + center + center + dialog-information-symbolic + + + list + + + + + 0 + Show all Resources + center + center + view-list-symbolic + + + details + + + + + resources + + + + + 0 + Collect Statistics + start + center + media-record-symbolic + + + statistics - resources + global @@ -125,20 +147,6 @@ recorder - - - - - visual - - - - - - - general - - @@ -396,21 +404,55 @@ - - record_statistics_button + + horizontal + + + global_stack + + + + + + + + + general + General + + + + + + + visual + Visual + + + + + resource_buttons + + + resources + Resources + + + + + record_statistics_button + + + statistics + Statistics + + + + - statistics - Statistics - - - - - resource_buttons - - - resources - Resources + global + Global @@ -429,22 +471,6 @@ Recorder - - - - - visual - Visual - - - - - - - general - General - -