Formatting of trangaTask string with fixed-with instead of tabs

This commit is contained in:
glax 2023-05-20 16:23:25 +02:00
parent e54e83c2ae
commit 086d72565a

View File

@ -56,6 +56,6 @@ public class TrangaTask
public override string ToString()
{
return $"{task}\t{lastExecuted}\t{reoccurrence}\t{state}\t{connectorName}\t{publication?.sortName}";
return $"{task,-20} {lastExecuted,-20} {reoccurrence,-12} {state,-10} {connectorName,-15} {publication?.sortName}";
}
}