From 36d7dcb6b260de89827bd716d294de88f2000fea Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Mon, 17 Oct 2022 13:20:00 +0200 Subject: [PATCH] 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 --- src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp b/src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp index c48fdadea6c..817d02ed638 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp @@ -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(); }