Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16290

QML- Text line-height issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.7.0
    • GUI: Text handling
    • None

    Description

      In stylesheet (CSS) we have a property called "line-height" which increases the gap between two lines. My suggestion is to introduce same kind of property for QML to achieve the expected result.

      Below is the CSS "line-height" property example.

      <div style="border:1px solid red;padding:10px;line-height:30px">
      
      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec quis tortor id turpis egestas iaculis. Duis feugiat placerat egestas. Duis non tellus sit amet ipsum adipiscing rutrum ac aliquet nisi. 
      
      </div>
      

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              manzar_alam12 Manzar Alam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes