[gnome-builder/wip/chergert/perspective] editor: add layout grid to editor perspective



commit 6135adf1d07ae1dc8086b8de54e1a907f63e480a
Author: Christian Hergert <chergert redhat com>
Date:   Fri Nov 13 01:59:01 2015 -0800

    editor: add layout grid to editor perspective

 data/ui/ide-editor-perspective.ui |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/ide-editor-perspective.ui b/data/ui/ide-editor-perspective.ui
index 72655d4..d2a3ed4 100644
--- a/data/ui/ide-editor-perspective.ui
+++ b/data/ui/ide-editor-perspective.ui
@@ -2,10 +2,22 @@
 <interface>
   <!-- interface-requires gtk+ 3.18 -->
   <template class="IdeEditorPerspective" parent="IdeLayout">
-    <child>
-      <object class="GtkLabel">
-        <property name="visible">true</property>
-        <property name="label">Editor Perspective</property>
+    <child internal-child="content_pane">
+      <object class="IdeLayoutPane">
+        <child internal-child="stack_switcher">
+          <object class="GtkStackSwitcher">
+            <property name="visible">false</property>
+          </object>
+        </child>
+        <child internal-child="stack">
+          <object class="GtkStack">
+            <child>
+              <object class="IdeLayoutGrid" id="grid">
+                <property name="visible">true</property>
+              </object>
+            </child>
+          </object>
+        </child>
       </object>
     </child>
   </template>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]