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. Blurry text in Text component
Qt 6.11 is out! See what's new in the release blog

Blurry text in Text component

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 1.7k Views
  • 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.
  • gabodevG Offline
    gabodevG Offline
    gabodev
    wrote on last edited by
    #1

    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
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
      wrote on last edited by
      #2

      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
      https://www.pthinks.com

      1 Reply Last reply
      2

      • Login

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