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

Setting the pixel size also changes the font family

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 4.8.x, 5.0.0
    • Quick: Other
    • None

    Description

      import QtQuick 1.1
      
      Text {
          text: "bladsajdasdsadasd"
          font: fontObject.font
          QtObject {
              id: fontObject
              property alias font: textItem.font
              property Item subItem: Text {
                  id: textItem
                  visible: false
                  font.family: "Rosewood Std Regular"
                  font.pixelSize: 44
      
              }
          }
      }
      
      import QtQuick 1.0
      
      MyText {
          font.pixelSize: 40
      }
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes