label_with_widgets: Set wrap-mode
Avoid stretching the window when a message contains long words.
This commit is contained in:
parent
3f6370fd57
commit
fd13541a73
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ mod imp {
|
|||
let label = &self.label;
|
||||
label.set_parent(obj);
|
||||
label.set_wrap(true);
|
||||
label.set_wrap_mode(pango::WrapMode::WordChar);
|
||||
label.set_xalign(0.0);
|
||||
label.set_valign(gtk::Align::Start);
|
||||
label.connect_notify_local(
|
||||
|
|
Loading…
Reference in a new issue