Secondary text on palettes should respect the max width - Fixes #4862
When a activity have a title very long without spaces, the text can't be wraped with the default wrap mode (WORD) Use WRAP_CHAR to solve this issue.
This commit is contained in:
parent
5d0e06f07d
commit
034706a482
@ -286,6 +286,7 @@ class Palette(PaletteWindow):
|
||||
self._secondary_label.set_line_wrap(True)
|
||||
self._secondary_label.set_ellipsize(
|
||||
style.ELLIPSIZE_MODE_DEFAULT)
|
||||
self._secondary_label.set_wrap_mode(Gtk.WrapMode.WORD_CHAR)
|
||||
self._secondary_label.set_lines(NO_OF_LINES)
|
||||
self._secondary_label.set_justify(Gtk.Justification.FILL)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user