forked from qt-creator/qt-creator
Wizards: Improve the UI for showing the list of platforms
A plain string like "Android Device Desktop" is hard to parse, especially when there's unfortunate line wrapping. Use a proper list. Fixes: QTCREATORBUG-24288 Change-Id: I560ef5e14f0775ab233b1258b04a1c39414be51c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -459,9 +459,9 @@ void NewDialog::currentItemChanged(const QModelIndex &index)
|
|||||||
desciption += tr("Platform independent") + QLatin1String("</b>");
|
desciption += tr("Platform independent") + QLatin1String("</b>");
|
||||||
else
|
else
|
||||||
desciption += tr("Supported Platforms")
|
desciption += tr("Supported Platforms")
|
||||||
+ QLatin1String("</b>: <tt>")
|
+ QLatin1String("</b>: <ul>")
|
||||||
+ displayNamesForSupportedPlatforms.join(QLatin1Char(' '))
|
+ "<li>" + displayNamesForSupportedPlatforms.join("</li><li>") + "</li>"
|
||||||
+ QLatin1String("</tt>");
|
+ QLatin1String("</ul>");
|
||||||
|
|
||||||
m_ui->templateDescription->setHtml(desciption);
|
m_ui->templateDescription->setHtml(desciption);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user