[gnumeric] Fixed labels vertical alignment in preferences dialog.
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fixed labels vertical alignment in preferences dialog.
- Date: Fri, 9 Sep 2011 09:26:15 +0000 (UTC)
commit a4e924270365923b9c540df57d040d8ad3678ede
Author: Jean Brefort <jean brefort normalesup org>
Date: Fri Sep 9 11:31:03 2011 +0200
Fixed labels vertical alignment in preferences dialog.
NEWS | 1 +
src/dialogs/ChangeLog | 5 +++++
src/dialogs/dialog-preferences.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 11df60e..08311b9 100644
--- a/NEWS
+++ b/NEWS
@@ -26,6 +26,7 @@ Jean:
* Fix row height autofit when zoom level is not 1. [#656418]
* Fix actions sensitivity for chart sheets. [#645842]
* Fixed criticals when saving a chart to ODF. [#658194]
+ * Fixed labels vertical alignment in preferences dialog.
Morten:
* Fix crash. [#658140]
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index a7a426b..3f21eb8 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-09 Jean Brefort <jean brefort normalesup org>
+
+ * dialog-preferences.c (pref_create_label): fixed labels vertical alignment
+ in preferences dialog.
+
2011-08-23 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-printer-setup.c (do_hf_dt_format_customize): use
diff --git a/src/dialogs/dialog-preferences.c b/src/dialogs/dialog-preferences.c
index 339767a..3a54817 100644
--- a/src/dialogs/dialog-preferences.c
+++ b/src/dialogs/dialog-preferences.c
@@ -146,7 +146,7 @@ pref_create_label (GOConfNode *node, GtkWidget *table,
label = gtk_label_new_with_mnemonic (default_label);
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT);
- gtk_misc_set_alignment (GTK_MISC (label), 0, 0);
+ gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, row, row + 1,
GTK_FILL | GTK_EXPAND,
GTK_FILL | GTK_SHRINK, 5, 2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]