Page 1 of 1
Fix for big font issue in search field
Posted: 2013-02-06 15:30:25
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
Posted: 2013-02-06 15:38:44
by antp
What does your patch do exacty? That could help fixing the problem in AMC directly
Posted: 2013-02-06 15:47:39
by Galnospoke
If You use bigger font, search field is broken.
Posted: 2013-02-06 18:04:43
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.
Posted: 2013-02-07 08:59:11
by Galnospoke
OK.
Posted: 2013-02-07 13:25:29
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?
Posted: 2013-02-07 18:47:40
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.
Posted: 2013-02-09 21:18:28
by antp
Thanks, as I'll have to fix similar bugs in other programs