job_status: fix cancel print label position (#194)

This commit is contained in:
Alfredo Monclus 2021-06-26 13:21:40 -03:00 committed by GitHub
parent 1c45b87f09
commit b4064c6b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,6 +305,8 @@ class JobStatusPanel(ScreenPanel):
label.set_markup(_("Are you sure you wish to cancel this print?"))
label.set_hexpand(True)
label.set_halign(Gtk.Align.CENTER)
label.set_vexpand(True)
label.set_valign(Gtk.Align.CENTER)
label.set_line_wrap(True)
label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)