comctl32: statusbar: change the height expression to one that seems to be the same as in Windows (2nd try)
mikolaj at zalewski.pl
Thu Jul 17 10:50:35 CDT 2008
I have added another test. There were two details to fix (if
tmInternalLeading is 0 then the margin should be 2 and there is a
minimal pane height), but the use of tmInternalLeading seems correct -
the test passes for all fonts on Vista with Photoshop Elements
installed. Maybe tmInternalLeading is considered a good candidate for
margin size as it scales with the font size and is like the double-click
time that is used for tooltips timeouts.
I've tried to change some values with SPI_SETNONCLIENT but it didn't
have any effect of the minimal pane size, so I've hardcoded it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080717/28681796/attachment.bin
More information about the wine-patches