From 28d48f9a4f7596e949286339549bd4e42dea6d21 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 22 Apr 2017 15:35:00 +0200 Subject: EomCloseConfirmationDialog: set max width chars for primary label This reduce the width of the confirmation dialog --- src/eom-close-confirmation-dialog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eom-close-confirmation-dialog.c b/src/eom-close-confirmation-dialog.c index 92a286b..6992b33 100644 --- a/src/eom-close-confirmation-dialog.c +++ b/src/eom-close-confirmation-dialog.c @@ -400,6 +400,7 @@ build_single_img_dialog (EomCloseConfirmationDialog *dlg) primary_label = gtk_label_new (NULL); gtk_label_set_line_wrap (GTK_LABEL (primary_label), TRUE); gtk_label_set_use_markup (GTK_LABEL (primary_label), TRUE); + gtk_label_set_max_width_chars (GTK_LABEL (primary_label), 88); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (primary_label), 0.0); #else @@ -603,6 +604,7 @@ build_multiple_imgs_dialog (EomCloseConfirmationDialog *dlg) primary_label = gtk_label_new (NULL); gtk_label_set_line_wrap (GTK_LABEL (primary_label), TRUE); gtk_label_set_use_markup (GTK_LABEL (primary_label), TRUE); + gtk_label_set_max_width_chars (GTK_LABEL (primary_label), 88); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (primary_label), 0.0); #else -- cgit v1.2.1