[gnome-builder/wip/commands] command-bar: styling and alignent
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/commands] command-bar: styling and alignent
- Date: Tue, 7 Oct 2014 20:47:19 +0000 (UTC)
commit f6f5189a19fbaebab1744eec0a76e5fff53aab9d
Author: Christian Hergert <christian hergert me>
Date: Tue Oct 7 13:47:09 2014 -0700
command-bar: styling and alignent
src/resources/css/builder.Adwaita.css | 2 ++
src/resources/ui/gb-command-bar-item.ui | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/resources/css/builder.Adwaita.css b/src/resources/css/builder.Adwaita.css
index 83efc88..acbef45 100644
--- a/src/resources/css/builder.Adwaita.css
+++ b/src/resources/css/builder.Adwaita.css
@@ -170,4 +170,6 @@ GbCommandBarItem .gb-command-bar-item-equal {
font-size: 1.2em;
font-weight: bold;
color: shade (@theme_base_color, 0.5);
+ padding-left: 12px;
+ padding-right: 12px;
}
diff --git a/src/resources/ui/gb-command-bar-item.ui b/src/resources/ui/gb-command-bar-item.ui
index 4171a24..caa72b4 100644
--- a/src/resources/ui/gb-command-bar-item.ui
+++ b/src/resources/ui/gb-command-bar-item.ui
@@ -21,6 +21,7 @@
<object class="GtkLabel" id="command_text">
<property name="visible">True</property>
<property name="xalign">0.0</property>
+ <property name="valign">baseline</property>
<property name="hexpand">True</property>
<property name="can_focus">False</property>
<property name="selectable">True</property>
@@ -33,6 +34,7 @@
<object class="GtkLabel" id="equal_label">
<property name="visible">True</property>
<property name="hexpand">False</property>
+ <property name="valign">baseline</property>
<property name="can_focus">False</property>
<property name="label">=</property>
<property name="selectable">False</property>
@@ -45,6 +47,7 @@
<object class="GtkLabel" id="result_text">
<property name="visible">True</property>
<property name="xalign">0.0</property>
+ <property name="valign">baseline</property>
<property name="hexpand">False</property>
<property name="can_focus">False</property>
<property name="selectable">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]