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

Text element skips new line characters with font.capitalization set to Font.AllUppercase

    XMLWordPrintable

Details

    Description

      Run the following code in Qml Viewer

      import QtQuick 1.0
      
      Rectangle {
          Column {
              anchors.centerIn: parent
              spacing: 10
              Text {
                  text: "Two\nlines"
              }
              Text {
                  text: "two\nlines"
                  font.capitalization: Font.AllUppercase
              }
          }
      }
      

      First text element shows two lines, second one only one line. It looks like the font capitalization processing skips the "\n" new line character.

      Attachments

        For Gerrit Dashboard: QTBUG-17485
        # Subject Branch Project Status CR V

        Activity

          People

            ablasche Alex Blasche
            jpetrell Joona Petrell
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes