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

wrapMode of QML Text type doesn't support Text.WordWrap mode for Korean

XMLWordPrintable

    • d1bab5b1e3d28c0e2925ad3208cea785af755d54

      if Korean is used for QML Text Component and wrapMode is set to Text.WordWrap does incorrect line braking. Instead of breaking by space, it breaks sentence by syllables.

      Example:

      import QtQuick 2.0
      
      
      Rectangle {
          width: 480
          height: 360
      
          Text {
              anchors.centerIn: parent
              text: "안녕하세요 여러분!"
              width: 100
              wrapMode: Text.WordWrap
          }
      }
      

      Expected result:

      안녕하세요 
      여러분!

      Actual result:

      안녕하세요  여
      러분!

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

            esabraha Eskil Abrahamsen Blomfeldt
            alexey.turitsyn Alexey Turitsyn
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes