View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001751 | Double Commander | Graphical user interface | public | 2017-03-05 23:24 | 2017-04-09 20:21 |
| Reporter | accorp | Assigned To | Alexx2000 | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Projection | none | ETA | none | ||
| Product Version | 1.0.0 (trunk) | Product Build | 7424 | ||
| Target Version | 0.8.0 | Fixed in Version | 0.8.0 | ||
| Summary | 0001751: Size is padding with extra spaces at the left | ||||
| Description | If file size format is set to bytes, DC().GETFILESIZE is padding with spaces to 8 characters. | ||||
| Steps To Reproduce | Set "Options / Files views / Formatting / File size format" to B (Bytes). Align "size" column to the left. | ||||
| Tags | No 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
| ||||
| Fixed in Revision | 7488,7495 | ||||
| Operating system | |||||
| Widgetset | |||||
| Architecture | |||||
| 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 |