[ antp.be > Forum ]

[ FAQFAQ - SearchSearch - MemberlistMemberlist - UsergroupsUsergroups - ]

[ RegisterRegister - ProfileProfile - Log in to check your private messagesLog in to check your private messages - Log inLog in ]


Fix for big font issue in search field

 
Post new topic   Reply to topic    www.antp.be Forum Index -> Ant Movie Catalog > Mods
Author Message
Galnospoke
PostPosted: 2013-02-06 16:30:25    Post subject: Fix for big font issue in search field Reply with quote
View user's profile Send private message 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

antp
Site Admin
PostPosted: 2013-02-06 16:38:44    Post subject: Reply with quote
View user's profile Send private message Visit poster's website What does your patch do exacty? That could help fixing the problem in AMC directly animated grin
Galnospoke
PostPosted: 2013-02-06 16:47:39    Post subject: Reply with quote
View user's profile Send private message If You use bigger font, search field is broken.
soulsnake
PostPosted: 2013-02-06 19:04:43    Post subject: Reply with quote
View user's profile Send private message Send e-mail 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
PostPosted: 2013-02-07 09:59:11    Post subject: Reply with quote
View user's profile Send private message OK.
antp
Site Admin
PostPosted: 2013-02-07 14:25:29    Post subject: Reply with quote
View user's profile Send private message Visit poster's website
Galnospoke wrote:
If You use bigger font, search field is broken.

I know, but I was asking what you changed to fix it wink

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
PostPosted: 2013-02-07 19:47:40    Post subject: Reply with quote
View user's profile Send private message Send e-mail Hi,

Quote:
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 wink.

Soulsnake.
antp
Site Admin
PostPosted: 2013-02-09 22:18:28    Post subject: Reply with quote
View user's profile Send private message Visit poster's website Thanks, as I'll have to fix similar bugs in other programs grin
Display posts from previous:   
View previous topic :: View next topic  
Post new topic   Reply to topic    www.antp.be Forum Index -> Ant Movie Catalog > Mods All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
Template made by antp