Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
QDS 4.7.1
-
None
-
Windows 1022H2, Figma 125.3.6
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
-