Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
QDS 4.7.0
Description
A Vector with "Scale" constraints in Figma is imported as Shape QML into Qt Design Studio, but it does not scaling to the parent.
Steps to reproduce :
1. In Figma, create a Frame including a Vector data that with "scale" constraints. (Vertically and horizontally)
- Please do not add any Effects to the vector data to let Qt Design Studio import it as a Shape QML Type.
2. Export it via Qt Bridge for Figma plugin.
- Please enable "Export vectors as shapes" setting in Settings/Additinal Settings.
3. Import the .qtbridge file to Qt Design Studio, then open the generated QML file.
The vector data will be converted to a Shape QML type, but it does not have any property settings to get it scaled to the parent.
- The original reporter expected it has a "fillMode" property, but it does not exist.
- If he manually add a "fillMode" property to the Shape QML in the generated file, Qt Design Studio detects it as a 'Invalid property name "fillMode". (M16)' error.
When the vector data was exported without enabling "Export vectors as shapes", Qt Design Studio converted it to Image QML having the properties below:
sourceSize.width: width
sourceSize.height: height
This is scalable, but the original reporter still prefer Shape QML because he wants to dynamically switch the vector color within QML application.
Attachments
Issue Links
- relates to
-
QDS-15164 Fixes for Qt Bridge in QDS 4.8
-
- Open
-