Browse Source

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.
merge-requests/1327/merge
Georges Basile Stavracas Neto 4 years ago committed by Julian Sparber
parent
commit
9da44db5ce
  1. 1
      src/session/content/room_history/state_row/mod.rs

1
src/session/content/room_history/state_row/mod.rs

@ -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
}

Loading…
Cancel
Save