[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 22:36:03 CST 2017
https://bugs.winehq.org/show_bug.cgi?id=6682
--- Comment #46 from Dmitry Timoshkov <dmitry at baikal.ru> ---
(In reply to Fabian Maurer from comment #44)
> Created attachment 56744 [details]
> 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.
It shouldn't be too hard to add a test case for 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