[gtk+] GtkDialog: Baseline align buttons in action area
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkDialog: Baseline align buttons in action area
- Date: Tue, 23 Apr 2013 03:57:49 +0000 (UTC)
commit f354cef61bdd343728bf10403ca6ae29ac6ddf38
Author: Alexander Larsson <alexl redhat com>
Date: Tue Mar 26 11:46:55 2013 +0100
GtkDialog: Baseline align buttons in action area
gtk/gtkdialog.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 06cff85..2d0e289 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -744,6 +744,7 @@ gtk_dialog_add_button (GtkDialog *dialog,
button = gtk_button_new_from_stock (button_text);
gtk_widget_set_can_default (button, TRUE);
+ gtk_widget_set_valign (button, GTK_ALIGN_BASELINE);
gtk_widget_show (button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]