diff options
author | Mahmoud Badri <mahmoud.badri@qt.io> | 2024-01-23 15:11:05 +0200 |
---|---|---|
committer | Mahmoud Badri <mahmoud.badri@qt.io> | 2024-01-23 13:29:44 +0000 |
commit | 9723ebe7b42dfc8cc5e1634e012a89b734d6bc4b (patch) | |
tree | e7b3c974b42c36f1b294d9522848c087260a973d | |
parent | 6826987c7e20adfc2322647fb90d1932d250a1ce (diff) |
EffectMaker: Wrap long names in the nodes ComboBox
In practice this applied only to "Mipmap Drop Shadow"
Fixes: QDS-11717
Change-Id: Ia731370a1101a9bce17ae558ae8761b99afcd896
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r-- | share/qtcreator/qmldesigner/effectMakerQmlSources/EffectNode.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/effectMakerQmlSources/EffectNode.qml b/share/qtcreator/qmldesigner/effectMakerQmlSources/EffectNode.qml index a2d35bc577..7b4018fa9b 100644 --- a/share/qtcreator/qmldesigner/effectMakerQmlSources/EffectNode.qml +++ b/share/qtcreator/qmldesigner/effectMakerQmlSources/EffectNode.qml @@ -36,6 +36,7 @@ Rectangle { Row { spacing: 5 + anchors.fill: parent IconImage { id: nodeIcon @@ -52,8 +53,11 @@ Rectangle { text: modelData.nodeName color: modelData.canBeAdded ? StudioTheme.Values.themeTextColor : StudioTheme.Values.themeTextColorDisabled + font.pointSize: StudioTheme.Values.smallFontSize anchors.verticalCenter: nodeIcon.verticalCenter + wrapMode: Text.WordWrap + width: parent.width - parent.spacing - nodeIcon.width } } } |