diff --git a/src/commands/CmdProjects.cpp b/src/commands/CmdProjects.cpp index 7606472c4..819ad59d4 100644 --- a/src/commands/CmdProjects.cpp +++ b/src/commands/CmdProjects.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include @@ -105,10 +105,10 @@ int CmdProjects::execute (std::string& output) if (unique.size ()) { // Render a list of project names from the map. - ViewText view; + Table view; view.width (context.getWidth ()); - view.add (Column::factory ("string", STRING_COLUMN_LABEL_PROJECT)); - view.add (Column::factory ("string.right", STRING_COLUMN_LABEL_TASKS)); + view.add (STRING_COLUMN_LABEL_PROJECT); + view.add (STRING_COLUMN_LABEL_TASKS, false); if (context.color ()) {