From 65edd6a8c138b961ea2aaf6b4af89c8d55221c72 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Sun, 29 Jul 2012 01:01:33 +0000 Subject: [PATCH] custom about window size on mac (bigger font size) --- src/gui/src/AboutDialog.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gui/src/AboutDialog.cpp b/src/gui/src/AboutDialog.cpp index 3ef25b15..abb0ed72 100644 --- a/src/gui/src/AboutDialog.cpp +++ b/src/gui/src/AboutDialog.cpp @@ -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 }