There are clearly two things:
1) different heights in 32-bit and 64-bit TC - they of course should be the same and have the
right height
2) the matter of what
right height is
It seems to me that you complain about 1), because beta 9 broke it again. I'm after 2).
I wrote simple application to test if we're seeing the same sizes. It looks like this:
http://web.hisoftware.cz/sob/download/edit-height-test.png
Left column consists of sample edits with heights from font_weight+0 to font_weight+10. The used font can be set above, to compare with TC settings. The other two columns are screenhots of the first one from Windows 7 with Aero and Classic themes. So it's possible to compare if it looks the same as the first column (for default Microsoft Sans Sefif 8). I can't imagine it could have different heights (with exception of different DPI settings - I use defaults everywhere).
Rename edit heights I see in TC:
- TC 7.56a = +5
- TC 8.0 beta 5 (with differences between 32/64)
- 32-bit = +5
- 64-bit = +8
- TC 8.0 beta 6 (after making height the same - but still have problems with some font combinations)
- 32-bit = +5
- 64-bit = +5
- TC 8.0 beta 8 (new algorithm for calculating the height, does not depend on main window font)
- 32-bit = +4
- 64-bit = +4
- TC 8.0 beta 9
- 32-bit = +6
- 64-bit = +8
Now what the
right height is. I believe it's +6 (*1). With +4 I was seeing in beta 8 there was no space between the text and borders when using Classic theme. With Aero and other themes, edits have only 1px borders (as compared to 2px in Classic) so there was 1px space there and it didn't look bad. But even with Aero, +6 looks better, because it makes the space 2px, which is the same as left space and if you look at higher edits (+7 and above), you can see the top space always being 2px, so I take it as the best value.
There's of course the question how it's possible that my +6 is different from TC's +6. If you could run my test application and check what you see (screenshots welcome), it might perhaps bring some clues (e.g. if it's system-dependent).
http://web.hisoftware.cz/sob/download/edit-height-test.7z (contains 32-bit Delphi 5 version and 64-bit Lazarus version)
http://web.hisoftware.cz/sob/download/edit-height-test-src.7z (source)
--
(*1) it is actually computed value, it just happens that it was 6 with all themes so far