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.

    CU
    mts

    sample:

        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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.