Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Please report only one bug per message!

Moderators: white, sheep, Hacker, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 10670
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *petermad »

Confirmed (testet with TC 10 rc3 32- and 64-bit under Windows 7 and 10).
License #524 (1994)
Danish Total Commander Translator
TC 10.00 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H1) 64bit, 'Everything' 1.4.1.1009 (x64)
TC 3.23 on Android 6 & 11
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 41387
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *ghisler(Author) »

Isn't it better if it gets stretched, e.g. for high resolution screens?
Author of Total Commander
http://www.ghisler.com
Stiltzkin
Member
Member
Posts: 169
Joined: 2004-09-10, 17:15 UTC

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *Stiltzkin »

maybe, but then it should keep at least the aspect ratio, imho.

i would expect that the highest (or appropriate) WxH format from the *.ico file is displayed.
if that is too small on a higher resolution screen you can/should just add a higher WxH format to the *.ico.
User avatar
Gral
Power Member
Power Member
Posts: 838
Joined: 2005-01-26, 15:12 UTC

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *Gral »

Yes, should be proportional, so square in most cases.
BTW, this bug occurs on system associations dialog too, not only internal.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 41387
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *ghisler(Author) »

You are right, it is stretched in a not proportional way when using a very wide font like "Courier New". I will make it proportional.

The internal and system associations dialog use the same dialog box internally.
Author of Total Commander
http://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 10670
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *petermad »

history.txt wrote:06.06.21 Fixed: When resizing dialog box Files - Associate - "Edit type" with larger font, show the preview icon in rectangular form even with very wide fonts like Courier New (same also for internal associations) (32/64)
Confirmed fixed in TC 10.00 final :-)
License #524 (1994)
Danish Total Commander Translator
TC 10.00 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H1) 64bit, 'Everything' 1.4.1.1009 (x64)
TC 3.23 on Android 6 & 11
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply