View Issue Details

IDProjectCategoryView StatusLast Update
0001751Double CommanderGraphical user interfacepublic2017-04-09 20:21
Reporteraccorp Assigned ToAlexx2000  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
Product Version1.0.0 (trunk)Product Build7424 
Target Version0.8.0Fixed in Version0.8.0 
Summary0001751: Size is padding with extra spaces at the left
DescriptionIf file size format is set to bytes, DC().GETFILESIZE is padding with spaces to 8 characters.
Steps To ReproduceSet "Options / Files views / Formatting / File size format" to B (Bytes).
Align "size" column to the left.
TagsNo tags attached.
Attached Files
fmt-file-size.diff (330 bytes)   
Index: src/udcutils.pas
===================================================================
--- src/udcutils.pas	(revision 7423)
+++ src/udcutils.pas	(working copy)
@@ -380,7 +380,7 @@
   end;
   fsfByte:
   begin
-    Result:= Format('%8.0n', [FloatSize]);
+    Result:= Format('%.0n', [FloatSize]);
   end;
   fsfKilo:
   begin
fmt-file-size.diff (330 bytes)   
Fixed in Revision7488,7495
Operating system
Widgetset
Architecture

Activities

Issue History

Date Modified Username Field Change
2017-03-05 23:24 accorp New Issue
2017-03-05 23:24 accorp File Added: fmt-file-size.diff
2017-04-08 20:59 Alexx2000 Fixed in Revision => 7488
2017-04-08 20:59 Alexx2000 Status new => resolved
2017-04-08 20:59 Alexx2000 Resolution open => fixed
2017-04-08 20:59 Alexx2000 Assigned To => Alexx2000
2017-04-08 22:00 accorp Status resolved => closed
2017-04-09 20:21 Alexx2000 Fixed in Revision 7488 => 7488,7495
2017-04-09 20:21 Alexx2000 Fixed in Version => 0.8.0
2017-04-09 20:21 Alexx2000 Target Version => 0.8.0