[fractal] state-row: Left-align state messages
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] state-row: Left-align state messages
- Date: Fri, 1 Apr 2022 14:40:44 +0000 (UTC)
commit 9da44db5ced3d0a5362f34d26e1f98bd324b35cb
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Mar 31 19:52:24 2022 -0300
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 34d5d0f6c..8e411ed47 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
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]