Important: Please read the Qt Code of Conduct -

Bug when using text Font.SmallCaps together with Text.HorizontalFit

  • Hey guys,

    I found a bug when using font.capitalization = Font.SmallCaps together with fontSizeMode != Text.FixedSize.
    You will see that only capital-letters are resized.



        Text {
            width: 274
            height: 24
            text: "Asdfgioj Adgsdfgsdfgvsd Asdfgsdfgsf"
            font.capitalization: Font.SmallCaps
            fontSizeMode: Text.HorizontalFit
            horizontalAlignment: Text.AlignHCenter
            font.pixelSize: 20

Log in to reply