git-svn-id: svn://db.shs.com.ru/pip@249 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-09-01 15:03:56 +00:00
parent bae0456042
commit 5d296fa5a5
14 changed files with 352 additions and 99 deletions

View File

@@ -201,9 +201,9 @@ void FileManager::TileDir::buildNames() {
scol = scol.expandRightTo(9, ' ') + "| " + e.time_modification.toString("dd.MM hh:mm:ss") + " | "
+ e.perm_user.toString() + " " + e.perm_group.toString() + " " + e.perm_other.toString();
fcol = t + e.name();
if (fcol.size_s() >= width - 2 - scol.size_s())
fcol = fcol.left(width - 5 - scol.size_s()) + "...";
fcol.expandRightTo(width - 1 - scol.size_s(), ' ');
if (fcol.size_s() >= width_ - 2 - scol.size_s())
fcol = fcol.left(width_ - 5 - scol.size_s()) + "...";
fcol.expandRightTo(width_ - 1 - scol.size_s(), ' ');
content << Row(fcol + scol, CellFormat(cc, Transparent, cf));
}
unlock();