Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Blurry text in Text component

    QML and Qt Quick
    2
    2
    1005
    Loading More Posts
    • 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.
    • gabodev
      gabodev last edited by

      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.

      Developer at Ninja-IDE

      1 Reply Last reply Reply Quote 0
      • dheerendra
        dheerendra Qt Champions 2022 last edited by

        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

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        1 Reply Last reply Reply Quote 2
        • First post
          Last post