forked from qt-creator/qt-creator
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 <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -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."));
|
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);
|
m_layout->addRow(checkBox);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChooseDirectoryPage::checkPackageSourceDir()
|
void ChooseDirectoryPage::checkPackageSourceDir()
|
||||||
|
Reference in New Issue
Block a user