https://bugs.winehq.org/show_bug.cgi?id=6682
--- Comment #44 from Fabian Maurer dark.shadow4@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?