Button-bar icon size specefied for a resolution
Moderators: white, Hacker, petermad, Stefan2
Button-bar icon size specefied for a resolution
My monitors at home and work have different resolutions. I set the icon size for the button bar of TC when I am at home. When I get to work, the icon size are very small as the resolution of my monitor at work is much higher. Then I have to set the size again and and again when I get home!
Is there anyway to include the size of the buttion bar specifically for a resolution in wincmd.ini similar to other parameters like font size?
Is there anyway to include the size of the buttion bar specifically for a resolution in wincmd.ini similar to other parameters like font size?
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Try removing the icon size of the buttons from wincmd.ini, then TC should use a reasonable size in both cases.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
What is the command for button size in wincmd.ini?
Code: Select all
[Buttonbar]
Buttonheight=
Code: Select all
[Buttonbar]
SmallIcons=0
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
I get 24 pixels buttons with 24 pixel icons on a 1920x1200, a 1280x1024 and a 1366x768 screen.
If I use SmallIcons=1 (and Buttonheight= , and SmallIconSize= ) then I get 16 pixel icons on 24 pixel buttons.
Wonder what resolution will make buttons and icons bigger?
If I use SmallIcons=1 (and Buttonheight= , and SmallIconSize= ) then I get 16 pixel icons on 24 pixel buttons.
Wonder what resolution will make buttons and icons bigger?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
2petermad
Well it's not a surprise you get 24px icons when using the setting 'scale icons to button size'*. Of course I'm not using this option - this would look horrible.
* Also known as Smallicons=0
Well it's not a surprise you get 24px icons when using the setting 'scale icons to button size'*. Of course I'm not using this option - this would look horrible.
* Also known as Smallicons=0
I guess the resolution doesn't make a difference but the global DPI setting.Wonder what resolution will make buttons and icons bigger?
The 16 pixel icons is by design
Help:
Help:
Small icons If checked, the icons are shown in 16x16 size, otherwise they are resized to the given size.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Great, this works for me!petermad wrote:What is the command for button size in wincmd.ini?And you also have to deselect Small icons:Code: Select all
[Buttonbar] Buttonheight=
Note, that each time you change the button bar via the "Change button bar" dialog (Menu: Configuration -> Button Bar...) you have to manually reset the Buttonheight= parameter in wincmd.iniCode: Select all
[Buttonbar] SmallIcons=0
Just wondering if there is anyway to include the exact size of the buttion for each resolution?
Thanks
2msrox
On your high-res monitor - after you have set Buttonheight= and restarted TC, can you tell me what icon-size TC suggests when you open the "Change button bar" dialog - is it a higher number than 24? And if the number is higher, then what resolution do you have on that high-res monitor?
On your high-res monitor - after you have set Buttonheight= and restarted TC, can you tell me what icon-size TC suggests when you open the "Change button bar" dialog - is it a higher number than 24? And if the number is higher, then what resolution do you have on that high-res monitor?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Currently TC uses these presets:
If the DPI value is higher than 144 ( 96+48 ), then it uses
button default size: 48
small icon size: 32
otherwise
button default size: 24
small icon size: 16
If the DPI value is higher than 144 ( 96+48 ), then it uses
button default size: 48
small icon size: 32
otherwise
button default size: 24
small icon size: 16
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
It is using size 48. Here are the resolutiosn that I am dealinig with now:petermad wrote:2msrox
On your high-res monitor - after you have set Buttonheight= and restarted TC, can you tell me what icon-size TC suggests when you open the "Change button bar" dialog - is it a higher number than 24? And if the number is higher, then what resolution do you have on that high-res monitor?
Home: 1920 X 1080
Work: 3840 X 2160
Any solution?
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, currently not. And it would be a bad idea to add that now, we are already at RC5...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com