Mail: Tweak the height of the menu fields

Since hrev45725 we no longer resize fixed sized menu fields to their preferred
height in the constructor so as to be backwards compatible with the behavior on
BeOS R5. As a consequence though, the menu fields in Mail are now a bit too
tall so this commit tweaks the menu fields to be just a bit shorter matching
the height of the text controls.
This commit is contained in:
John Scipione
2013-06-10 18:31:58 -04:00
parent 0df5a3b0cb
commit 2a95812e46
+1 -1
View File
@@ -170,7 +170,7 @@ THeaderView::THeaderView(BRect rect, BRect windowRect, bool incoming,
dummy->RemoveSelf();
delete dummy;
float menuFieldHeight = menuBarHeight + 6;
float menuFieldHeight = menuBarHeight + 2;
float controlHeight = menuBarHeight + floorf(be_plain_font->Size() / 1.15);
if (!fIncoming) {