From 0202290283625e106eba339014440a28af2f367d Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Mon, 2 Sep 2024 15:13:41 +0200 Subject: [PATCH] Android: Ensure text in Create Android Manifest wizard has space QWizard seems to vertically squeeze its pages, and QFormLayout does not actively push back for multi-line text labels. This change sets the size policy for the wizard page to vertical MinimumExpanding, so that the text is completely shown. Task-number: QTCREATORBUG-26476 Fixes: QTCREATORBUG-28793 Change-Id: Idb22dcb3754ff06038d1110e23ccc816f35e622f Reviewed-by: Jarek Kobus --- src/plugins/android/createandroidmanifestwizard.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/android/createandroidmanifestwizard.cpp b/src/plugins/android/createandroidmanifestwizard.cpp index 5e615f71625..8d2226f3790 100644 --- a/src/plugins/android/createandroidmanifestwizard.cpp +++ b/src/plugins/android/createandroidmanifestwizard.cpp @@ -162,6 +162,8 @@ ChooseDirectoryPage::ChooseDirectoryPage(CreateAndroidManifestWizard *wizard) checkBox->setToolTip(Tr::tr("It is highly recommended if you are planning to extend the Java part of your Qt application.")); m_layout->addRow(checkBox); } + + setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding); } void ChooseDirectoryPage::checkPackageSourceDir()