When using non-flat drive buttons, the labels on USB devices without drive letter (u1, u2, u3) are clipped in the right side or very close to the right side of the button - see: https://madsenworld.dk/tcmd/usbinbuttonbar.png26.11.19 Added: Show up to 3 connected USB devices without drive letter (e.g. phones, tablets) also in drive buttonbar (32/64)
[solved] TC 9.5b7 - USB labels in buttonbar clipped
Moderators: Hacker, petermad, Stefan2, white
[solved] TC 9.5b7 - USB labels in buttonbar clipped
history.txt:
Last edited by petermad on 2019-12-11, 22:59 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC 9.5b7 - USB labels in buttonbar clipped
Which font do you use for these buttons (main window font)?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC 9.5b7 - USB labels in buttonbar clipped
Is that something I can control separately? - I only see that it is following the font of the Main window.Which font do you use for these buttons
I am using the old TC standard font setting (I really don't like Segoe and non-bold is not practical when coloring file names)
So my font settings are:
Code: Select all
FontSize=8
FontName=Microsoft Sans Serif
FontWeight=700
FontSizeWindow=8
FontNameWindow=Microsoft Sans Serif
FontWeightWindow=700
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: TC 9.5b7 - USB labels in buttonbar clipped
It looks like there's no enough space for two symbols.
Tahoma 8 pt. looks almost similarry in classic XP theme.
Tahoma 8 pt. looks almost similarry in classic XP theme.
Ukrainian Total Commander Translator. Feedback and discuss.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC 9.5b7 - USB labels in buttonbar clipped
There is enough space with Segoe UI, 9. I will try to make these buttons a bit larger.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC 9.5b7 - USB labels in buttonbar clipped
Can't you just move the text one charater to the left?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC 9.5b7 - USB labels in buttonbar clipped
No I can't - this would be possible if I kept the "eject" icon you get, but this is also as bug: The icon is wrong when you disable icons from Explorer. The real icon takes more space, so I can't move the character to the left. I have now made this button adaptable - it will be larger when needed. Only these USB icons will be made larger, the drive icons will keep their size.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC 9.5b7 - USB labels in buttonbar clipped
I use OldDriveIcons=2, so that explains it.The icon is wrong when you disable icons from Explorer
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC 9.5b7 - USB labels in buttonbar clipped
Please try with beta 8.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC 9.5b7 - USB labels in buttonbar clipped
Hmm - now I get the general icon for removable drives when using OldDriveIcons=2 - here under Windows 7: https://madsenworld.dk/tcmd/phonebutton.png and the "2" is still clipped a little (with bold font).
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC 9.5b7 - USB labels in buttonbar clipped
The button size calculation seems to be correct, but the theme seems to cut off a part of the text. 
Any suggestions?

Any suggestions?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC 9.5b7 - USB labels in buttonbar clipped
Add 2 pixels to the calculation...Any suggestions?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: TC 9.5b7 - USB labels in buttonbar clipped
Looks OK in TC 9.5b9 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar