Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Pyside2 and high dpi scaling

Pyside2 and high dpi scaling

Craig_Lamorte
Advocate Advocate
921 Views
0 Replies
Message 1 of 1

Pyside2 and high dpi scaling

Craig_Lamorte
Advocate
Advocate

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? 

0 Likes
922 Views
0 Replies
Replies (0)