[Bug 6682] IrfanView's 4.44 Help -> About window is missing a picture on the left
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jan 6 12:53:14 CST 2017
https://bugs.winehq.org/show_bug.cgi?id=6682
--- Comment #44 from Fabian Maurer <dark.shadow4 at web.de> ---
Created attachment 56744
--> https://bugs.winehq.org/attachment.cgi?id=56744
Hack to draw the about dialog properly
I think I found the reason for the wrongly placed textboxes. Attached a hack
that makes it look fine.
We might want to split this issue off though.
If you want to test it yourself, GdiGetCharDimensions gets called at
user32/dialog.c:506
In user32.GdiGetCharDimensions, the very last line:
> return (sz.cx / 26 + 1) / 2;
Here xz.cx is 389, divided by 26 it's 14.96, but it gets truncated to 14. My
hack forces it to round up.
Your thoughts on this?
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list