comparison 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
comparison
equal deleted inserted replaced
981:50940a7425ae 982:5d4730da0276
516 } 516 }
517 } 517 }
518 cb->blockSignals(false); 518 cb->blockSignals(false);
519 519
520 #ifdef Q_OS_MAC 520 #ifdef Q_OS_MAC
521 // Crashes on startup without this, for some reason 521 // Crashes on startup without this, for some reason; also
522 cb->setMinimumSize(QSize(10, 10)); 522 // prevents combo boxes from getting weirdly squished
523 // vertically
524 cb->setMinimumSize(QSize(10, cb->font().pixelSize() * 2));
523 #endif 525 #endif
524 526
525 break; 527 break;
526 } 528 }
527 529