Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-8320

Figma Bridge: Export line height properties

XMLWordPrintable

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            algerman Aleksei German
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes