Page 1 of 2
Button-bar icon size specefied for a resolution
Posted: 2016-11-07, 08:41 UTC
by msrox
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?
Posted: 2016-11-07, 14:37 UTC
by ghisler(Author)
Try removing the icon size of the buttons from wincmd.ini, then TC should use a reasonable size in both cases.
Posted: 2016-11-07, 22:02 UTC
by msrox
ghisler(Author) wrote:Try removing the icon size of the buttons from wincmd.ini, then TC should use a reasonable size in both cases.
Thanks for your reply!
What is the command for button size in wincmd.ini?
Posted: 2016-11-08, 01:08 UTC
by petermad
What is the command for button size in wincmd.ini?
And you also have to deselect Small icons:
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.ini
Posted: 2016-11-08, 08:26 UTC
by Lefteous
The proposed solution doesn't work for me. I get tiny 16px icons here.
Posted: 2016-11-08, 13:29 UTC
by petermad
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?
Posted: 2016-11-08, 14:42 UTC
by Lefteous
2
petermad
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
Wonder what resolution will make buttons and icons bigger?
I guess the resolution doesn't make a difference but the global DPI setting.
Posted: 2016-11-08, 15:34 UTC
by petermad
The 16 pixel icons is by design
Help:
Small icons If checked, the icons are shown in 16x16 size, otherwise they are resized to the given size.
Posted: 2016-11-08, 15:53 UTC
by Lefteous
Well all we learn from this quote is that this help page needs an update.
Posted: 2016-11-09, 10:40 UTC
by msrox
petermad wrote:What is the command for button size in wincmd.ini?
And you also have to deselect Small icons:
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.ini
Great, this works for me!
Just wondering if there is anyway to include the exact size of the buttion for each resolution?
Thanks
Posted: 2016-11-09, 11:07 UTC
by petermad
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?
Posted: 2016-11-09, 21:56 UTC
by ghisler(Author)
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
Posted: 2016-11-09, 23:34 UTC
by msrox
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?
It is using size 48. Here are the resolutiosn that I am dealinig with now:
Home: 1920 X 1080
Work: 3840 X 2160
Any solution?
Posted: 2016-11-09, 23:35 UTC
by msrox
ghisler(Author) wrote: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
So there is no way to specify the exact value in resolution section of wincmd.ini?
Posted: 2016-11-10, 16:05 UTC
by ghisler(Author)
No, currently not. And it would be a bad idea to add that now, we are already at RC5...