[gnome-control-center] wacom: align the navigation button box to the end of their row
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: align the navigation button box to the end of their row
- Date: Mon, 20 Feb 2012 10:36:45 +0000 (UTC)
commit d451559391003a2b4117ed9dd09dd38d16fc4eb9
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Feb 16 08:46:20 2012 +0100
wacom: align the navigation button box to the end of their row
https://bugzilla.gnome.org/show_bug.cgi?id=668881
panels/wacom/cc-wacom-page.c | 2 ++
panels/wacom/cc-wacom-stylus-page.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 0800a98..38ebef9 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -767,6 +767,8 @@ cc_wacom_page_init (CcWacomPage *self)
G_CALLBACK (display_mapping_button_clicked_cb), self);
priv->nav = cc_wacom_nav_button_new ();
+ gtk_widget_set_halign (priv->nav, GTK_ALIGN_END);
+ gtk_widget_set_margin_right (priv->nav, 10);
gtk_grid_attach (GTK_GRID (box), priv->nav, 0, 0, 1, 1);
}
diff --git a/panels/wacom/cc-wacom-stylus-page.c b/panels/wacom/cc-wacom-stylus-page.c
index b6c6680..ff4da12 100644
--- a/panels/wacom/cc-wacom-stylus-page.c
+++ b/panels/wacom/cc-wacom-stylus-page.c
@@ -328,6 +328,8 @@ cc_wacom_stylus_page_init (CcWacomStylusPage *self)
G_CALLBACK (button_changed_cb), self);
priv->nav = cc_wacom_nav_button_new ();
+ gtk_widget_set_halign (priv->nav, GTK_ALIGN_END);
+ gtk_widget_set_margin_right (priv->nav, 10);
gtk_grid_attach (GTK_GRID (box), priv->nav, 0, 0, 1, 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]