diff widgets/PropertyBox.cpp @ 982:5d4730da0276 osx-retina

Use a more sensible min height for OS/X
author Chris Cannam
date Tue, 30 Jun 2015 14:58:09 +0100
parents 66da6f009edd
children 3f7cdfc56dce
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp	Tue Jun 30 14:16:22 2015 +0100
+++ b/widgets/PropertyBox.cpp	Tue Jun 30 14:58:09 2015 +0100
@@ -518,8 +518,10 @@
         cb->blockSignals(false);
 
 #ifdef Q_OS_MAC
-	// Crashes on startup without this, for some reason
-	cb->setMinimumSize(QSize(10, 10));
+	// Crashes on startup without this, for some reason; also
+	// prevents combo boxes from getting weirdly squished
+	// vertically
+	cb->setMinimumSize(QSize(10, cb->font().pixelSize() * 2));
 #endif
 
 	break;