Merge pull request #6705 from aws-lumberyard-dev/3495_preferences_panel_update

3495 Preferences panel update: fix richtext elision and allow html links
This commit is contained in:
sphrose
2022-01-07 08:52:45 +00:00
committed by GitHub
3 changed files with 61 additions and 2 deletions
@@ -421,6 +421,7 @@ namespace AzToolsFramework
{
QString label{ text };
m_nameLabel->setText(label);
m_nameLabel->setOpenExternalLinks(true);
m_nameLabel->setVisible(!label.isEmpty());
// setting the stretches to 0 in case of an empty label really hides the label (i.e. even the reserved space)
m_mainLayout->setStretch(0, label.isEmpty() ? 0 : LabelColumnStretch);