mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Use two dots instead of three as ellipsis in file list to save some space
This commit is contained in:
parent
8fe1d49e67
commit
dbbe809621
1 changed files with 2 additions and 2 deletions
|
|
@ -133,7 +133,7 @@ begin
|
|||
if gDirBrackets and (AFile.IsDirectory or AFile.IsLinkToDirectory) then
|
||||
S:= '..]'
|
||||
else begin
|
||||
S:= '...';
|
||||
S:= '..';
|
||||
end;
|
||||
Index:= ACanvas.TextFitInfo(AFileName, ATargetWidth - ACanvas.TextWidth(S));
|
||||
Result:= UTF8Copy(AFileName, 1, Index) + S;
|
||||
|
|
@ -143,7 +143,7 @@ end;
|
|||
{ FitOtherCellText }
|
||||
function FitOtherCellText(const sStringToFit:String; ACanvas:TCanvas; ATargetWidth: Integer): String;
|
||||
const
|
||||
ELLIPSIS = '...';
|
||||
ELLIPSIS = '..';
|
||||
var
|
||||
Index: Integer;
|
||||
AMaxWidth: Integer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue