Fix for big font issue in search field

New scripts, templates and translation files that allows to use Ant Movie Catalog to manage other things than movies
Post Reply
Galnospoke
Posts: 20
Joined: 2010-05-23 14:22:32

Fix for big font issue in search field

Post by Galnospoke »

I create patch for small search field when using bigger system fonts.

Tested on 120 dpi font under XP and AMC version 4.1.2.2.

Remember: after patching You must resize search window, beacuse Ant Movie Catalog remeber old setting.

Patcher download: https://galnospoke.opendrive.com/files?67100788_ENZKB

Image
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

What does your patch do exacty? That could help fixing the problem in AMC directly :hihi:
Galnospoke
Posts: 20
Joined: 2010-05-23 14:22:32

Post by Galnospoke »

If You use bigger font, search field is broken.
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

This bug has been fixed (with the other one in script options) for next update 4.1.2.3.
I don't test this patch but thanks.

Soulsnake.
Galnospoke
Posts: 20
Joined: 2010-05-23 14:22:32

Post by Galnospoke »

OK.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Galnospoke wrote:If You use bigger font, search field is broken.
I know, but I was asking what you changed to fix it ;)
soulsnake wrote: This bug has been fixed (with the other one in script options) for next update 4.1.2.3.
What did you do, in the end?
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,
What did you do, in the end?
I just adjust some widths and heights on runtime on some components using this ratio: Self.PixelsPerInch / 96 * originalSize + (Self.PixelsPerInch - 96) * adjustValueIfNeeded.
I also set the anchors to top left on all components in ToolbarFind because auto stretch was not handled correctly with high DPI.
For more details you can see the code if you want ;).

Soulsnake.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Thanks, as I'll have to fix similar bugs in other programs :D
Post Reply