forked from qt-creator/qt-creator
CMake: Improve styling of cmake buildconfiguration
Shortens the "Run CMake" button and the cmake variables tab header to make them easier to read on wide monitors Change-Id: I2579a8fa1c2899ae94f9c4a72c4188dc61ecd5f9 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -530,6 +530,11 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildSystem *bs) :
|
||||
CMakeTool::openCMakeHelpUrl(tool, "%1/manual/cmake.1.html#options");
|
||||
});
|
||||
|
||||
if (HostOsInfo::isMacHost())
|
||||
m_configurationStates->setDrawBase(false);
|
||||
m_configurationStates->setExpanding(false);
|
||||
m_reconfigureButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
|
||||
|
||||
updateSelection();
|
||||
updateConfigurationStateSelection();
|
||||
}
|
||||
|
Reference in New Issue
Block a user