diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-29 18:20:32 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-29 18:20:32 +0900 |
commit | c234313a25f4857ffa0d39c8a043fa322a24a93d (patch) | |
tree | 36366a6c089bac2cc66dbf4d1afa55895ad1556c /gtk | |
parent | a6a97ad4421c746e61ce98f3f014877fe8e38e95 (diff) | |
download | gtk+-c234313a25f4857ffa0d39c8a043fa322a24a93d.tar.gz |
Make GtkCheckButton's label left aligned by default.
Since we no longer limit the label's allocation to the minimum, now
we take a saner approach to left aligning the label.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkcheckbutton.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c index 893fcecd73..686dc84534 100644 --- a/gtk/gtkcheckbutton.c +++ b/gtk/gtkcheckbutton.c @@ -96,6 +96,7 @@ gtk_check_button_init (GtkCheckButton *check_button) gtk_widget_set_has_window (GTK_WIDGET (check_button), FALSE); gtk_widget_set_receives_default (GTK_WIDGET (check_button), FALSE); gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (check_button), TRUE); + gtk_button_set_alignment (GTK_BUTTON (check_button), 0.0, 0.5); } GtkWidget* |