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

Figma Bridge: Export line height properties

    XMLWordPrintable

Details

    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

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes