Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
Description
The highlighted setting above currently has no effect on the generated QML.
Instead, it should produce something like this:
lineHeight: 32 lineHeightMode: Text.FixedHeight
Note: Simply adding this QML code currently won't produce the expected results however, because Qt Quick Text treats line height differently from CSS/Figma (see QTBUG-108468). We either need QTBUG-108468 to be implemented first, or some workaround to map Figma coordinates to Qt coordinates.
Attachments
Issue Links
- depends on
-
QTBUG-108468 Allow QML Text.lineHeight to be consistent with CSS line-height
-
- Reported
-
- is covered by
-
QDS-8594 Respect line height settings on export
-
- Closed
-