diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gtk/report.ui | 5 | ||||
-rw-r--r-- | src/ui/report.rs | 2 |
2 files changed, 3 insertions, 4 deletions
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 @@ <object class="GtkScrolledWindow"> <property name="vexpand">true</property> <child> - <object class="GtkTreeView" id="results_tree"> - - </object> + <object class="GtkTreeView" id="results_tree"></object> </child> </object> </child> - </object> </child> </object> 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) } } + |