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:
Marcus Tillmanns
2022-10-17 13:20:00 +02:00
parent 7c9d1ef516
commit 36d7dcb6b2

View File

@@ -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();
}