job_status: line wrapping for filenames with no spaces

This commit is contained in:
Jordan Ruthe 2020-12-08 23:38:38 -05:00
parent ecc4c5ac4c
commit 47d08f5385
2 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,8 @@ class JobStatusPanel(ScreenPanel):
self.labels['file'].set_halign(Gtk.Align.START)
self.labels['file'].set_vexpand(False)
self.labels['file'].get_style_context().add_class("printing-filename")
self.labels['file'].set_line_wrap(True)
self.labels['file'].set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
self.labels['status'] = Gtk.Label()
self.labels['status'].set_halign(Gtk.Align.START)
self.labels['status'].set_vexpand(False)

View File

@ -223,7 +223,7 @@ trough {
.printing-filename {
font-size: 1.75em;
font-weight: bold;
margin: .25em 0 0 0;
margin: .25em .25em 0 0;
}
.printing-info {