Skip to content

Commit c8faf2b

Browse files
committed
don't wrap time and priority
1 parent 43ccff3 commit c8faf2b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/widgets/message_row.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ impl MessageRow {
4848
.map(|time| time.format("%Y-%m-%d %H:%M:%S").to_string())
4949
.unwrap_or_default(),
5050
)
51-
.wrap_mode(gtk::pango::WrapMode::WordChar)
5251
.xalign(0.0)
53-
.wrap(true)
5452
.build();
5553
time.add_css_class("caption");
5654
self.attach(&time, 0, 0, 1, 1);
@@ -67,12 +65,7 @@ impl MessageRow {
6765
_ => "Invalid",
6866
}
6967
);
70-
let priority = gtk::Label::builder()
71-
.label(&text)
72-
.wrap_mode(gtk::pango::WrapMode::WordChar)
73-
.xalign(0.0)
74-
.wrap(true)
75-
.build();
68+
let priority = gtk::Label::builder().label(&text).xalign(0.0).build();
7669
priority.add_css_class("caption");
7770
priority.add_css_class("chip");
7871
if p == 5 {

0 commit comments

Comments
 (0)