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/gtk/report.ui | 5 +---- src/ui/report.rs | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/gtk/report.ui b/src/gtk/report.ui index 9d4d5c8..92ae072 100644 --- a/src/gtk/report.ui +++ b/src/gtk/report.ui @@ -155,13 +155,10 @@ true - - - + - 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