From 40f728ff8f71bfdba75aac93060cb9ef86e7f4cd Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Mon, 18 Feb 2013 20:46:55 -0600 Subject: [PATCH] Correct height of header when tabs above document is enabled Previously this appeared correct because once you clicked the minimum height of the pop-up menu set it to the correct height. Corrects an issue noted by @fatiotus in #728. --- Frameworks/OakFileBrowser/src/ui/OFBHeaderView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/OakFileBrowser/src/ui/OFBHeaderView.mm b/Frameworks/OakFileBrowser/src/ui/OFBHeaderView.mm index a9fe77a8..66b46b08 100644 --- a/Frameworks/OakFileBrowser/src/ui/OFBHeaderView.mm +++ b/Frameworks/OakFileBrowser/src/ui/OFBHeaderView.mm @@ -86,6 +86,6 @@ static NSPopUpButton* OakCreatePopUpButton () - (NSSize)intrinsicContentSize { - return NSMakeSize(NSViewNoInstrinsicMetric, self.matchTabBarHeight ? 20 : 24); + return NSMakeSize(NSViewNoInstrinsicMetric, self.matchTabBarHeight ? 21 : 24); } @end