Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
QDS 4.7.1
-
None
-
Windows 1022H2, Figma 125.3.6
-
756a374da (qds/dev)
-
QDS Berlin - 2025 Week 23/24
Description
In the attached project, the 2 variants contain elements that are identical in every way except for their Z-order. When converted to QML, Z-orders in the Alt variant are lost.
Figma
Qt Design Studio
In the code below, we expect something like PropertyChanges { target: redSquare; z: 1} in "pattern_Alt":
import QtQuick import QtQuick.Controls Rectangle { id: myPattern state: "pattern_Default"" // ... Rectangle { id: redSquare // ... } Rectangle { id: greenSquare // ... } states: [ State { name: "pattern_Alt" }, State { name: "pattern_Default" } ] }
Attachments
Issue Links
- relates to
-
QDS-15231 [Figma Bridge] Variants: Z-order of items are not captured during export
-
- Closed
-
For Gerrit Dashboard: QDS-15232 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
650310,3 | AssetImporter: Add Z-property changes for component variants | qds/dev | qt-creator/tqtc-plugin-qtquickdesigner | Status: MERGED | +2 | +1 |