mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Horizontal Space
- Modified default report definitions to use shorter column labels, namely 'Proj' and 'Urg'. This results in less horizontal space use. - Adjusted unit tests accordingly.
This commit is contained in:
parent
330761e997
commit
3d4bad3034
5 changed files with 25 additions and 25 deletions
|
@ -140,14 +140,14 @@ std::string ViewTask::render (std::vector <Task>& data, std::vector <int>& seque
|
|||
unsigned int ideal;
|
||||
(*i)->measure (data[sequence[s]], min, ideal);
|
||||
|
||||
if (min > global_min) global_min = min;
|
||||
if (min > global_min) global_min = min;
|
||||
if (ideal > global_ideal) global_ideal = ideal;
|
||||
}
|
||||
|
||||
if (print_empty_columns || global_min != 0)
|
||||
{
|
||||
unsigned int label_length = utf8_length ((*i)->label ());
|
||||
if (label_length > global_min) global_min = label_length;
|
||||
if (label_length > global_min) global_min = label_length;
|
||||
if (label_length > global_ideal) global_ideal = label_length;
|
||||
minimal.push_back (global_min);
|
||||
ideal.push_back (global_ideal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue