[gnome-builder] GbGitSearchResult: start on new design for git results



commit 33e17cd590acfda370629dd164fe8432710e3be1
Author: Christian Hergert <christian hergert me>
Date:   Tue Dec 16 15:46:58 2014 -0800

    GbGitSearchResult: start on new design for git results

 src/resources/ui/gb-git-search-result.ui |   45 ++++++++++++++++++++++++++----
 1 files changed, 39 insertions(+), 6 deletions(-)
---
diff --git a/src/resources/ui/gb-git-search-result.ui b/src/resources/ui/gb-git-search-result.ui
index b561c53..80f3643 100644
--- a/src/resources/ui/gb-git-search-result.ui
+++ b/src/resources/ui/gb-git-search-result.ui
@@ -3,13 +3,46 @@
   <!-- interface-requires gtk+ 3.14 -->
   <template class="GbGitSearchResult" parent="GbSearchResult">
     <child>
-      <object class="GtkLabel" id="label">
+      <object class="GtkBox">
         <property name="visible">true</property>
-        <property name="xalign">0.0</property>
-        <property name="margin-top">12</property>
-        <property name="margin-bottom">12</property>
-        <property name="margin-start">12</property>
-        <property name="margin-end">12</property>
+        <property name="expand">true</property>
+        <property name="orientation">horizontal</property>
+        <property name="spacing">6</property>
+        <child>
+          <object class="GtkImage" id="image">
+            <property name="pixel_size">32</property>
+            <property name="visible">true</property>
+            <property name="icon_name">folder</property>
+            <property name="can_focus">false</property>
+          </object>
+        </child>
+        <child>
+          <object class="GtkBox">
+            <property name="visible">true</property>
+            <property name="expand">true</property>
+            <property name="spacing">0</property>
+            <property name="orientation">vertical</property>
+            <child>
+              <object class="GtkLabel" id="label">
+                <property name="visible">true</property>
+                <property name="xalign">0.0</property>
+                <property name="valign">baseline</property>
+                <property name="label">foo</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkLabel" id="dirname_label">
+                <property name="visible">true</property>
+                <property name="xalign">0.0</property>
+                <property name="valign">baseline</property>
+                <property name="label">foo</property>
+                <style>
+                  <class name="dim-label"/>
+                </style>
+              </object>
+            </child>
+          </object>
+        </child>
       </object>
     </child>
   </template>


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