Blurry text in Text component



  • Hi!
    I have a qml file that has the following code part:

    Button {
        id: button
        style: ButtonStyle {
                .
                .    
        }
        label: Text {
            id: text
            renderType: Text.NativeRendering
            verticalAlignment: Text.AlignVCenter
            text: button.text
            font.pixelSize: 16
            font.bold: false
            smooth: true
            color: "white"
        }
    }
    

    The problem is that the text looks blurry:

    button

    But I noticed that this problem only appears when the main window is maximized, if it is not, the Qt.NativeRendering feature works fine:

    button2

    I clarify that the qml file integrates it with PyQt.



  • Do u see this problem with normal Text element as well ? If yes most of the tim issue is with OpenGL library is not updated properly. Please update


Log in to reply
 

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