[gnome-builder/search] GbGitSearchResult: start on new design for git results
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/search] GbGitSearchResult: start on new design for git results
- Date: Tue, 16 Dec 2014 23:54:59 +0000 (UTC)
commit 440418a1d6e15d67ee368fc66e2666175057428b
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]