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

Figma plugin exports proportional line height, but bridge expects only fixed value

    XMLWordPrintable

Details

    Description

      Figma plugin exports line height as proportional value: 1.0 for normal line height, 2.0 for doubled, 1.5 for 150% and so on. 

      Bridge importer always imports it as fixed value (lineHeightMode: Text.FixedHeight), turning x1.0 value into 1 pixel line height, x2 into 2 pixel line height, rounding x1.5 to 1px.

       

      QDS and QML supports lineHeightMode with Text.FixedHeight and Text.ProportionalHeight, proportionalHeight is a default value.

      Attachments

        Issue Links

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

          Activity

            People

              vikas Vikas Pachdha
              algerman Aleksei German
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes