qt DrawText returned wrong result if text was multiline

git-svn-id: trunk@12970 -
This commit is contained in:
paul 2007-11-22 06:14:30 +00:00
parent f90b1ff958
commit 8bc69917b1

View File

@ -1223,7 +1223,7 @@ begin
//TODO: result should be different when DT_VCENTER or DT_BOTTOM is set
Result := QtDC.font.Metrics.height;
Result := R.Bottom - R.Top;
if (Flags and DT_CALCRECT) = DT_CALCRECT then
begin