[frogr] Better alignment for text in the verification code entry widget
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Better alignment for text in the verification code entry widget
- Date: Sun, 4 Jan 2015 00:09:30 +0000 (UTC)
commit e55850c605429861d22d9583bee3029cfdb18aa2
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Sun Jan 4 01:07:38 2015 +0100
Better alignment for text in the verification code entry widget
src/frogr-auth-dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-auth-dialog.c b/src/frogr-auth-dialog.c
index 082839a..066b759 100644
--- a/src/frogr-auth-dialog.c
+++ b/src/frogr-auth-dialog.c
@@ -109,7 +109,8 @@ _build_verification_code_entry_widget (GtkWidget *dialog)
entry = gtk_entry_new ();
gtk_entry_set_max_length (GTK_ENTRY (entry), 3);
gtk_entry_set_width_chars (GTK_ENTRY (entry), 3);
- gtk_box_pack_start (GTK_BOX (hbox), entry, FALSE, FALSE, 0);
+ gtk_entry_set_alignment (GTK_ENTRY (entry), 0.5);
+ gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, FALSE, 6);
entry_key = g_strdup_printf ("vercode-%d", i + 1);
g_object_set_data (G_OBJECT (dialog), entry_key, entry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]