From 2a95812e466a5357cc05bf29f1bed5c75d5222ca Mon Sep 17 00:00:00 2001 From: John Scipione Date: Mon, 10 Jun 2013 18:31:58 -0400 Subject: [PATCH] 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. --- src/apps/mail/Header.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/mail/Header.cpp b/src/apps/mail/Header.cpp index 2fc6165461..485c7e6c16 100644 --- a/src/apps/mail/Header.cpp +++ b/src/apps/mail/Header.cpp @@ -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) {