Message 1 of 1
Pyside2 and high dpi scaling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Ive run into an issue on any custom pyside UIs in maya in which the UI gets squished whenever the windows scaling is set to anything 150% or above. I've tried looking up this issue, so far i've seen people say to try this -
QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True) QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
That did not work though. Anyone know any solutions to these scaling issues?