-
-
Notifications
You must be signed in to change notification settings - Fork 50
Description
Important
This issue was migrated from Trac:
| Origin | https://midnight-commander.org/ticket/2557 |
|---|---|
| Reporter | bugreporter |
MC's "chmod" dialog has its size hardcoded in the source -- both the overall size, and the size of the dialog's components.
The hardcoded numbers work well with the English language (see the attached screenshot "english_before.png").
They do NOT work well with many other languages (see the attached screenshot "international_before.png"; it uses German as an example). Perfectly translated strings overflow their allocated width. At the same time, the dialog leaves much blank space that stays unused.
The attached patch "mc-4.7.5.2-chmod_use_whitespace-1.patch" re-structures the "chmod" dialog's internal dimensions such that less of the dialog's area is wasted for whitespace. The dialog's outer dimensions stay untouched.
This improves the situation for non-English languages considerably (see the attached screenshot "international_after.png").
The dialog in English language still looks good (see the attached screenshot "english_after.png").
Note
Original attachments:
- english_before.png (raw) by
bugreporteronMay 16, 2011 at 17:39 UTC - english_after.png (raw) by
bugreporteronMay 16, 2011 at 17:39 UTC - international_before.png (raw) by
bugreporteronMay 16, 2011 at 17:40 UTC - international_after.png (raw) by
bugreporteronMay 16, 2011 at 17:40 UTC - mc-4.7.5.2-chmod_use_whitespace-1.patch (raw) by
bugreporteronMay 16, 2011 at 17:41 UTC - mc-4.7.5.2-chmod_use_whitespace-2.patch (raw) by
bugreporteronMay 16, 2011 at 22:23 UTC - international_before_and_after.png (raw) by
bugreporteronMay 17, 2011 at 17:28 UTC