[gnome-control-center] wacom: add some spacing between the panel sections
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: add some spacing between the panel sections
- Date: Mon, 28 Nov 2011 20:28:51 +0000 (UTC)
commit b39356f69c8562468f06cf412612eafa124291a8
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Nov 28 15:06:05 2011 -0500
wacom: add some spacing between the panel sections
https://bugzilla.gnome.org/show_bug.cgi?id=665079
panels/wacom/cc-wacom-nav-button.c | 2 ++
panels/wacom/gnome-wacom-properties.ui | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-nav-button.c b/panels/wacom/cc-wacom-nav-button.c
index b90e037..578a180 100644
--- a/panels/wacom/cc-wacom-nav-button.c
+++ b/panels/wacom/cc-wacom-nav-button.c
@@ -213,12 +213,14 @@ cc_wacom_nav_button_init (CcWacomNavButton *self)
gtk_container_add (GTK_CONTAINER (priv->prev), image);
g_signal_connect (G_OBJECT (priv->prev), "clicked",
G_CALLBACK (prev_clicked), self);
+ gtk_widget_set_valign (priv->prev, GTK_ALIGN_START);
priv->next = gtk_button_new ();
image = gtk_image_new_from_icon_name ("go-next-symbolic", GTK_ICON_SIZE_MENU);
gtk_container_add (GTK_CONTAINER (priv->next), image);
g_signal_connect (G_OBJECT (priv->next), "clicked",
G_CALLBACK (next_clicked), self);
+ gtk_widget_set_valign (priv->next, GTK_ALIGN_START);
gtk_box_pack_start (GTK_BOX (self), priv->prev,
FALSE, FALSE, 0);
diff --git a/panels/wacom/gnome-wacom-properties.ui b/panels/wacom/gnome-wacom-properties.ui
index ecfdda4..39dffe8 100644
--- a/panels/wacom/gnome-wacom-properties.ui
+++ b/panels/wacom/gnome-wacom-properties.ui
@@ -573,6 +573,8 @@
<property name="halign">start</property>
<property name="valign">center</property>
<property name="margin_left">10</property>
+ <property name="margin_top">16</property>
+ <property name="margin_bottom">16</property>
<property name="label" translatable="yes">Stylus</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -592,7 +594,7 @@
<property name="halign">start</property>
<property name="valign">center</property>
<property name="margin_left">10</property>
- <property name="xpad">3</property>
+ <property name="margin_bottom">16</property>
<property name="label" translatable="yes">Wacom Tablet</property>
<attributes>
<attribute name="weight" value="bold"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]