Commit 4053ee0c authored by Lapo Calamandrei's avatar Lapo Calamandrei

GtkStackSwitcher: center the button child

Set button child halign to GTK_ALIGN_CENTER since I need it to style
the needs-attention class, see:
https://bugzilla.gnome.org/show_bug.cgi?id=707153
parent 4af59dbd
......@@ -137,6 +137,7 @@ rebuild_child (GtkWidget *self,
if (button_child)
{
gtk_widget_set_halign (GTK_WIDGET (button_child), GTK_ALIGN_CENTER);
gtk_widget_show_all (button_child);
gtk_container_add (GTK_CONTAINER (self), button_child);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment