[TC 9.0x] Button bar icons wrong position

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

[TC 9.0x] Button bar icons wrong position

Post by *MaxX »

TC 9.0
Button bar config:
Appearance
Size 13, XP style enabled, Flat icons enabled, Small icons enabled (size 16).

Problem:
Icons have wrong vertical position: not centered by vertical alignment, have empty 1 px bottom line.

Screenshot:
http://savepic.net/8268917.png
Upper is TC 9.0 beta (any of #1...#6)
Lower is TC 8.52a

As I see, TC 8.52a has no problem (it has 2px 2-color divider), but TC 9.0 beta has (1px 1-color divider).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Why would you make the button smaller than the icon? It's surprising that it even worked in older versions.
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Wow! Never thought it could be something unnatural.
My main idea is 16x16 icons with no useless space anywhere (incl. no borders and unused pixels). I've been using this config since TC 6.x and it works perfect all the time up to TC 8.xx.
Can you give some solution for this situation?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have checked it, and it was affecting all button sizes - they were all 1 pixel too high. Please try again with beta 7!
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

Confirm. Beta 7 looks fine.
Ukrainian Total Commander Translator. Feedback and discuss.
Post Reply