[gnome-builder/wip/project-selector: 16/56] initial-setup: explore new project ideas



commit 48835a8a6d2f396e0ecb9f196b1dfb2c2ad0a3ec
Author: Christian Hergert <christian hergert me>
Date:   Thu Apr 2 01:40:19 2015 -0700

    initial-setup: explore new project ideas

 data/ui/gb-initial-setup-dialog.ui |  137 +++++++++++++++++++++++++++--------
 1 files changed, 105 insertions(+), 32 deletions(-)
---
diff --git a/data/ui/gb-initial-setup-dialog.ui b/data/ui/gb-initial-setup-dialog.ui
index 39da3d9..de517e1 100644
--- a/data/ui/gb-initial-setup-dialog.ui
+++ b/data/ui/gb-initial-setup-dialog.ui
@@ -22,6 +22,19 @@
             </child>
           </object>
         </child>
+        <child>
+          <object class="GtkButton" id="create_button">
+            <property name="label" translatable="yes">Create</property>
+            <property name="visible">true</property>
+            <style>
+              <class name="text-button"/>
+              <class name="suggested-action"/>
+            </style>
+          </object>
+          <packing>
+            <property name="pack-type">end</property>
+          </packing>
+        </child>
       </object>
     </child>
     <child>
@@ -259,20 +272,65 @@
         </child>
         <child>
           <object class="GtkBox" id="page_new_project">
-            <property name="orientation">vertical</property>
+            <property name="orientation">horizontal</property>
             <property name="expand">true</property>
+            <property name="spacing">12</property>
             <property name="visible">true</property>
             <child type="center">
-              <object class="GtkGrid">
-                <property name="column-spacing">12</property>
-                <property name="row-spacing">12</property>
+              <object class="GtkBox">
+                <property name="orientation">vertical</property>
+                <property name="spacing">12</property>
                 <property name="halign">center</property>
                 <property name="hexpand">false</property>
                 <property name="valign">center</property>
                 <property name="vexpand">false</property>
                 <property name="visible">true</property>
                 <child>
-                  <object class="GtkLabel">
+                  <object class="GtkEntry" id="name_entry">
+                    <property name="hexpand">true</property>
+                    <property name="width-chars">35</property>
+                    <property name="visible">true</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkFileChooserButton" id="location_button">
+                    <property name="action">select-folder</property>
+                    <property name="width-chars">35</property>
+                    <property name="hexpand">true</property>
+                    <property name="visible">true</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkMenuButton" id="version_button">
+                    <property name="hexpand">true</property>
+                    <property name="visible">true</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkMenuButton" id="language_button">
+                    <property name="hexpand">true</property>
+                    <property name="visible">true</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkMenuButton" id="pattern_button">
+                    <property name="hexpand">true</property>
+                    <property name="visible">true</property>
+                  </object>
+                </child>
+              </object>
+            </child>
+            <child>
+              <object class="GtkBox">
+                <property name="orientation">vertical</property>
+                <property name="spacing">12</property>
+                <property name="hexpand">true</property>
+                <property name="vexpand">true</property>
+                <property name="valign">center</property>
+                <property name="halign">end</property>
+                <property name="visible">true</property>
+                <child>
+                  <object class="GtkLabel" id="name_label">
                     <property name="label" translatable="yes">Name</property>
                     <property name="visible">true</property>
                     <property name="xalign">1.0</property>
@@ -280,55 +338,70 @@
                       <class name="dim-label"/>
                     </style>
                   </object>
-                  <packing>
-                    <property name="left-attach">0</property>
-                    <property name="width">1</property>
-                  </packing>
                 </child>
                 <child>
-                  <object class="GtkEntry">
-                    <property name="hexpand">true</property>
-                    <property name="width-chars">35</property>
+                  <object class="GtkLabel" id="location_label">
+                    <property name="label" translatable="yes">Location</property>
                     <property name="visible">true</property>
+                    <property name="xalign">1.0</property>
+                    <style>
+                      <class name="dim-label"/>
+                    </style>
                   </object>
-                  <packing>
-                    <property name="left-attach">1</property>
-                    <property name="width">2</property>
-                  </packing>
                 </child>
                 <child>
-                  <object class="GtkLabel">
-                    <property name="label" translatable="yes">Location</property>
+                  <object class="GtkLabel" id="version_label">
+                    <property name="label" translatable="yes">GNOME Version</property>
                     <property name="visible">true</property>
                     <property name="xalign">1.0</property>
                     <style>
                       <class name="dim-label"/>
                     </style>
                   </object>
-                  <packing>
-                    <property name="top-attach">1</property>
-                    <property name="left-attach">0</property>
-                    <property name="width">1</property>
-                  </packing>
                 </child>
                 <child>
-                  <object class="GtkFileChooserButton">
-                    <property name="action">select-folder</property>
-                    <property name="width-chars">35</property>
-                    <property name="hexpand">true</property>
+                  <object class="GtkLabel" id="language_label">
+                    <property name="label" translatable="yes">Language</property>
+                    <property name="visible">true</property>
+                    <property name="xalign">1.0</property>
+                    <style>
+                      <class name="dim-label"/>
+                    </style>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="pattern_label">
+                    <property name="label" translatable="yes">Pattern</property>
                     <property name="visible">true</property>
+                    <property name="xalign">1.0</property>
+                    <style>
+                      <class name="dim-label"/>
+                    </style>
                   </object>
-                  <packing>
-                    <property name="top-attach">1</property>
-                    <property name="left-attach">1</property>
-                    <property name="width">2</property>
-                  </packing>
                 </child>
               </object>
+              <packing>
+                <property name="pack-type">start</property>
+              </packing>
             </child>
           </object>
         </child>
       </object>
     </child>
   </template>
+  <object class="GtkSizeGroup">
+    <property name="mode">vertical</property>
+    <widgets>
+      <widget name="name_entry"/>
+      <widget name="name_label"/>
+      <widget name="location_button"/>
+      <widget name="location_label"/>
+      <widget name="version_button"/>
+      <widget name="version_label"/>
+      <widget name="language_button"/>
+      <widget name="language_label"/>
+      <widget name="pattern_button"/>
+      <widget name="pattern_label"/>
+    </widgets>
+  </object>
 </interface>


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