custom about window size on mac (bigger font size)
This commit is contained in:
parent
d76bf1ecd8
commit
65edd6a8c1
|
@ -29,4 +29,11 @@ AboutDialog::AboutDialog(QWidget* parent, const QString& synergyApp) :
|
|||
|
||||
m_versionChecker.setApp(synergyApp);
|
||||
m_pLabelSynergyVersion->setText(m_versionChecker.getVersion());
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
// fonts on mac are bigger, so window needs to be bigger.
|
||||
resize(400, 350);
|
||||
setMinimumSize(size());
|
||||
setMaximumSize(size());
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue