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
Forum Updated to NodeBB v4.3 + New Features

Blurry text in Text component

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 1.2k 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.
  • G Offline
    G Offline
    gabodev
    wrote on 27 Feb 2017, 22:15 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
    • D Offline
      D Offline
      dheerendra
      Qt Champions 2022
      wrote on 28 Feb 2017, 04:14 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
      http://www.pthinks.com

      1 Reply Last reply
      2

      1/2

      27 Feb 2017, 22:15

      • Login

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