From e37ff661ac2239b5342a9d3598d570206db74de5 Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Sun, 2 Oct 2022 12:59:59 +0200 Subject: Long task names no longer go off the page in Reports window --- src/ui/report.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui') diff --git a/src/ui/report.rs b/src/ui/report.rs index c7c1a75..a23bfda 100644 --- a/src/ui/report.rs +++ b/src/ui/report.rs @@ -158,6 +158,7 @@ impl FurReport { let task_column = gtk::TreeViewColumn::with_attributes(&gettext("Task"), &renderer, &[("text", 0)]); task_column.set_expand(true); + task_column.set_fixed_width(100); task_column.set_resizable(true); let duration_column = gtk::TreeViewColumn::with_attributes(&gettext("Duration"), &renderer, &[("text", 1)]); @@ -475,3 +476,4 @@ impl FurReport { format!("{:02}:{:02}:{:02}", h, m, s) } } + -- cgit 1.4.1