[frogr] Adjusted margins and paddings for dialogs, to make them look better
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Adjusted margins and paddings for dialogs, to make them look better
- Date: Sun, 4 Jan 2015 00:09:15 +0000 (UTC)
commit 8e561a145d0f8ac613f839b5ffcdc25e2c9de9af
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Sun Jan 4 00:34:11 2015 +0100
Adjusted margins and paddings for dialogs, to make them look better
src/frogr-add-tags-dialog.c | 2 +-
src/frogr-add-to-group-dialog.c | 2 +-
src/frogr-add-to-set-dialog.c | 2 +-
src/frogr-auth-dialog.c | 2 +-
src/frogr-main-view.c | 1 +
5 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/frogr-add-tags-dialog.c b/src/frogr-add-tags-dialog.c
index ab77ca4..eba76c2 100644
--- a/src/frogr-add-tags-dialog.c
+++ b/src/frogr-add-tags-dialog.c
@@ -204,7 +204,7 @@ frogr_add_tags_dialog_init (FrogrAddTagsDialog *self)
content_area = gtk_dialog_get_content_area (GTK_DIALOG (self));
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
- gtk_widget_set_margin_bottom (vbox, 12);
+ gtk_widget_set_margin_bottom (vbox, 6);
label = gtk_label_new (_("Enter a spaces separated list of tags:"));
gtk_widget_set_halign (label, GTK_ALIGN_START);
diff --git a/src/frogr-add-to-group-dialog.c b/src/frogr-add-to-group-dialog.c
index 1cba4ae..930476a 100644
--- a/src/frogr-add-to-group-dialog.c
+++ b/src/frogr-add-to-group-dialog.c
@@ -564,7 +564,7 @@ frogr_add_to_group_dialog_init (FrogrAddToGroupDialog *self)
GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (widget),
GTK_SHADOW_ETCHED_IN);
- gtk_box_pack_start (GTK_BOX (vbox), widget, TRUE, TRUE, 12);
+ gtk_box_pack_start (GTK_BOX (vbox), widget, TRUE, TRUE, 6);
priv->treeview = _create_tree_view (self);
gtk_container_add (GTK_CONTAINER (widget), priv->treeview);
diff --git a/src/frogr-add-to-set-dialog.c b/src/frogr-add-to-set-dialog.c
index b447c7a..9cdd036 100644
--- a/src/frogr-add-to-set-dialog.c
+++ b/src/frogr-add-to-set-dialog.c
@@ -565,7 +565,7 @@ frogr_add_to_set_dialog_init (FrogrAddToSetDialog *self)
GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (widget),
GTK_SHADOW_ETCHED_IN);
- gtk_box_pack_start (GTK_BOX (vbox), widget, TRUE, TRUE, 12);
+ gtk_box_pack_start (GTK_BOX (vbox), widget, TRUE, TRUE, 6);
priv->treeview = _create_tree_view (self);
gtk_container_add (GTK_CONTAINER (widget), priv->treeview);
diff --git a/src/frogr-auth-dialog.c b/src/frogr-auth-dialog.c
index 3360d37..fcb92b3 100644
--- a/src/frogr-auth-dialog.c
+++ b/src/frogr-auth-dialog.c
@@ -151,7 +151,7 @@ _ask_for_auth_confirmation (GtkWindow *parent)
/* Fill action area */
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
- gtk_widget_set_margin_bottom (vbox, 12);
+ gtk_widget_set_margin_bottom (vbox, 6);
/* Description label */
label = gtk_label_new (_("Enter verification code:"));
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index 7c779de..41208cf 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -474,6 +474,7 @@ _initialize_ui (FrogrMainView *self)
gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (progress_bar), TRUE);
gtk_box_pack_start (GTK_BOX (progress_vbox), progress_bar, FALSE, FALSE, 6);
+ gtk_widget_set_margin_bottom (progress_bar, 6);
gtk_widget_hide (progress_dialog);
priv->progress_dialog = progress_dialog;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]