aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2024-01-24 16:04:51 +0200
committerMahmoud Badri <mahmoud.badri@qt.io>2024-01-25 09:44:13 +0000
commit398676a360563ea3a2b10e4f5b979bbe995d4a70 (patch)
tree7a6fa4bcc6027cdecf6fc8fa8dd32454eb205acb
parentcfe3828c53933576860b0a28820ca7d2f24980d7 (diff)
EffectMaker: Make image value width fits the view width
Fixes: QDS-11752 Change-Id: Ia47c5076c32824628e700554a06803f50b82cd08 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/effectMakerQmlSources/ValueImage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/effectMakerQmlSources/ValueImage.qml b/share/qtcreator/qmldesigner/effectMakerQmlSources/ValueImage.qml
index a4f3ccd5ae..0c41f35fa0 100644
--- a/share/qtcreator/qmldesigner/effectMakerQmlSources/ValueImage.qml
+++ b/share/qtcreator/qmldesigner/effectMakerQmlSources/ValueImage.qml
@@ -9,13 +9,13 @@ import EffectMakerBackend
Row {
id: itemPane
- width: parent.width
spacing: 5
HelperWidgets.UrlChooser {
backendValue: uniformBackendValue
actionIndicatorVisible: false
+ comboBox.width: Math.min(parent.width - 70, 300)
onAbsoluteFilePathChanged: uniformValue = absoluteFilePath