http://bugs.winehq.org/show_bug.cgi?id=21489
Summary: simple Delphi program: wrong text label height in some cases Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: iggy@inbox.ru
Created an attachment (id=25881) --> (http://bugs.winehq.org/attachment.cgi?id=25881) sources and executable 7z
There is label with right justify alignment and with word wrap on a form. Changing label caption runtime from short word to phrase of 3 words, cause label height increase, but wrong value. Phrase appears consisting of 2 string, but label height corresponds if it was 3 string. And phrase vertically centered. There are buttons to change label caption and to get label heigth. Same program (in attachment) works correct on WinXP. May be somewhere in DrawText Windows GDI...