summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2023-05-09 11:50:29 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2023-05-16 21:12:42 +0200
commitfff4ca091bad5c8e7bf84b80f3f6757ef5b04f92 (patch)
tree39c7a9d42bbe501ecab4eca3063fae01e5f8a0c8
parent836b7c11fc8d72d5359289344ea0a108240e53ab (diff)
downloadqtdeclarative-wip/figmastyle.tar.gz
StyleGenerator, TextField: read 9p offsetswip/figmastyle
In order for StyleGenerator to generate 9p information, the Figma path must point to the background _rectangle_, which has a radius. Change-Id: Ib62837bd722702c3b753ebf5656d31e20d9bfbb0 Reviewed-by: Doris Verria <doris.verria@qt.io>
-rw-r--r--tools/qqcstylegenerator/config.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qqcstylegenerator/config.json b/tools/qqcstylegenerator/config.json
index 9411a7f1c6..aaebb640a8 100644
--- a/tools/qqcstylegenerator/config.json
+++ b/tools/qqcstylegenerator/config.json
@@ -75,7 +75,7 @@
"copy": ":/TextField.qml",
"component set": "TextFieldTemplate",
"atoms": [
- {"atom": "background", "figmaPath": "TextFieldBackground"},
+ {"atom": "background", "figmaPath": "TextFieldBackground, background"},
{"atom": "contentItem", "figmaPath": "contentItem", "export": "layout"}
],
"states": [