From e9e09ceec4acc51477e166d1271f9c1f42ed6fe6 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 24 May 2023 23:36:53 +0200 Subject: [PATCH] app: vertically center the top-left icon in GimpViewableDialog --- app/widgets/gimpviewabledialog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/widgets/gimpviewabledialog.c b/app/widgets/gimpviewabledialog.c index f247951d5b..dc7be7935f 100644 --- a/app/widgets/gimpviewabledialog.c +++ b/app/widgets/gimpviewabledialog.c @@ -118,7 +118,7 @@ gimp_viewable_dialog_init (GimpViewableDialog *dialog) gtk_widget_show (hbox); dialog->icon = gtk_image_new (); - gtk_widget_set_valign (dialog->icon, GTK_ALIGN_START); + gtk_widget_set_valign (dialog->icon, GTK_ALIGN_CENTER); gtk_box_pack_start (GTK_BOX (hbox), dialog->icon, FALSE, FALSE, 0); gtk_widget_show (dialog->icon); @@ -137,7 +137,6 @@ gimp_viewable_dialog_init (GimpViewableDialog *dialog) dialog->viewable_label = g_object_new (GTK_TYPE_LABEL, "xalign", 0.0, - "yalign", 0.5, "ellipsize", PANGO_ELLIPSIZE_END, NULL); gimp_label_set_attributes (GTK_LABEL (dialog->viewable_label),