Commit ade96622 authored by Daniel Teske's avatar Daniel Teske

TargetSetupPage: Move description label to the first place

This changes the ordering to the following:
"The project %1 is not yet configured
 Qt Creator uses the kit %2 to parse the project."

"Qt Creator can use the following kits for project %1:"

Which makes more sense then the reverse order

Task-number: QTCREATORBUG-8191
Change-Id: I2588e31bd7fa9c24ba054859c0cc8e2ec489d51a
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 524afb00
......@@ -80,6 +80,9 @@ public:
void setupUi(QWidget *q)
{
QWidget *setupTargetPage = new QWidget(q);
descriptionLabel = new QLabel(setupTargetPage);
descriptionLabel->setWordWrap(true);
descriptionLabel->setVisible(false);
headerLabel = new QLabel(setupTargetPage);
headerLabel->setWordWrap(true);
......@@ -89,9 +92,6 @@ public:
noValidKitLabel->setWordWrap(true);
noValidKitLabel->setText(TargetSetupPage::tr("<span style=\" font-weight:600;\">No valid kits found.</span>"));
descriptionLabel = new QLabel(setupTargetPage);
descriptionLabel->setWordWrap(true);
descriptionLabel->setVisible(false);
optionHintLabel = new QLabel(setupTargetPage);
optionHintLabel->setWordWrap(true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment