From 9da44db5ced3d0a5362f34d26e1f98bd324b35cb Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Thu, 31 Mar 2022 19:52:24 -0300 Subject: [PATCH] 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. --- src/session/content/room_history/state_row/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/session/content/room_history/state_row/mod.rs b/src/session/content/room_history/state_row/mod.rs index 34d5d0f6..8e411ed4 100644 --- a/src/session/content/room_history/state_row/mod.rs +++ b/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 }