Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. listWidget boarder unable to show correctly on high DPI with 100+ scale screen
Forum Updated to NodeBB v4.3 + New Features

listWidget boarder unable to show correctly on high DPI with 100+ scale screen

Scheduled Pinned Locked Moved Unsolved Qt for Python
qt for python
1 Posts 1 Posters 129 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.
  • LeotsingL Offline
    LeotsingL Offline
    Leotsing
    wrote on last edited by Leotsing
    #1

    issue description:

    my screen default "Scale and layout" is 125% (as bellow figure shows), based on that, the Qt listWidget boarder can not show correctly, even I zoom the GUI. But, if I change to 100%, boarder show correctly.

    how could solve it at 125% scale

    I tried QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True) but not solve it

    issue.png

    Software information:

    • PySide 6.7.0 (python 3.11.4)
    • window 10

    Screen information:

    • Size: 24‘’
    • Display resolution: 2560*1440
    1 Reply Last reply
    0

    • Login

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