state-row: Left-align state messages

This makes the indentation of the chat history much more stable and
easier to follow, which in turn makes it much more pleasant to read.
This commit is contained in:
Georges Basile Stavracas Neto 2022-03-31 19:52:24 -03:00 committed by Julian Sparber
parent d7e89d516f
commit 9da44db5ce

View file

@ -208,6 +208,7 @@ fn text(label: String) -> gtk::Label {
child.set_css_classes(&["event-content", "dim-label"]);
child.set_wrap(true);
child.set_wrap_mode(gtk::pango::WrapMode::WordChar);
child.set_xalign(0.0);
child
}