From dc904ffaf92132fdaa956340349c95fb5f7ebcfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 21 Jan 2017 08:45:44 +0100 Subject: [PATCH] gtkfontbutton: hexpand the font label To restore the previous look. --- gtk/gtkfontbutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index fced5351e7..5e5f0f9fcc 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -638,12 +638,13 @@ gtk_font_button_init (GtkFontButton *font_button) priv->button = gtk_button_new (); g_signal_connect (priv->button, "clicked", G_CALLBACK (gtk_font_button_clicked), font_button); priv->font_label = gtk_label_new (_("Font")); + gtk_widget_set_hexpand (priv->font_label, TRUE); priv->size_label = gtk_label_new ("14"); priv->font_size_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_container_add (GTK_CONTAINER (box), priv->font_label); - + gtk_container_add (GTK_CONTAINER (priv->font_size_box), gtk_separator_new (GTK_ORIENTATION_VERTICAL)); gtk_container_add (GTK_CONTAINER (priv->font_size_box), priv->size_label); gtk_container_add (GTK_CONTAINER (box), priv->font_size_box);