Codebase list sugar-toolkit-gtk3 / 034706a
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. Gonzalo Odiard 8 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
285285 self._secondary_label.set_line_wrap(True)
286286 self._secondary_label.set_ellipsize(
287287 style.ELLIPSIZE_MODE_DEFAULT)
288 self._secondary_label.set_wrap_mode(Gtk.WrapMode.WORD_CHAR)
288289 self._secondary_label.set_lines(NO_OF_LINES)
289290 self._secondary_label.set_justify(Gtk.Justification.FILL)
290291 else: