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

QML- Text line-height issue

XMLWordPrintable

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

      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>
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes