[bijiben] SettingsDialog: align the switcher
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] SettingsDialog: align the switcher
- Date: Thu, 8 Aug 2013 20:55:54 +0000 (UTC)
commit e6137536efdf382572122e853ebbe0ce5f299b49
Author: Pierre-Yves Luyten <py luyten fr>
Date: Thu Aug 8 22:55:21 2013 +0200
SettingsDialog: align the switcher
src/bjb-settings-dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/bjb-settings-dialog.c b/src/bjb-settings-dialog.c
index 6ae3db6..cffff46 100644
--- a/src/bjb-settings-dialog.c
+++ b/src/bjb-settings-dialog.c
@@ -419,7 +419,8 @@ bjb_settings_dialog_constructed (GObject *object)
hbox = gtk_grid_new ();
gtk_widget_set_vexpand (hbox, TRUE);
gtk_grid_attach (GTK_GRID (hbox), GTK_WIDGET (priv->switcher), 1, 1, 1, 1);
- gtk_widget_set_valign (GTK_WIDGET (priv->switcher), GTK_ALIGN_CENTER);
+ gtk_widget_set_halign (hbox, GTK_ALIGN_CENTER);
+ gtk_widget_set_valign (hbox, GTK_ALIGN_CENTER);
gtk_stack_switcher_set_stack (priv->switcher, priv->stack);
grid = gtk_grid_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]