forked from qt-creator/qt-creator
ProjectExplorer: Fix Add button alignment on Compilers tab
Fixes: QTCREATORBUG-28367 Change-Id: I468729fc2fd46f7f55081a696ff9d8913f5823d0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -192,6 +192,8 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_addButton->setMenu(addMenu);
|
m_addButton->setMenu(addMenu);
|
||||||
|
if (HostOsInfo::isMacHost())
|
||||||
|
m_addButton->setStyleSheet("text-align:center;");
|
||||||
|
|
||||||
m_cloneButton = new QPushButton(ToolChainOptionsPage::tr("Clone"), this);
|
m_cloneButton = new QPushButton(ToolChainOptionsPage::tr("Clone"), this);
|
||||||
connect(m_cloneButton, &QAbstractButton::clicked, [this] { cloneToolChain(); });
|
connect(m_cloneButton, &QAbstractButton::clicked, [this] { cloneToolChain(); });
|
||||||
|
|||||||
Reference in New Issue
Block a user