martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
789 stars 86 forks source link

Remove /dev/ from gui for long filenames #365

Closed PartialVolume closed 2 years ago

PartialVolume commented 2 years ago

This fixes column alignment issues in the gui with nvme drives i.e. nvme0n1 etc. If the drive name including path exceeds 8 characters the /dev/ is removed and prefixed with spaces to a total max length of 8 characters.

Firminator commented 2 years ago

Looks good to me. Screenshot from 2021-11-15 21-06-42