Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Bug when using text Font.SmallCaps together with Text.HorizontalFit
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 600 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    themts
    wrote on last edited by themts
    #1

    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
        }
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved