Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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.


  • Qt Champions 2017

    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