Commit 6220f392 authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot
Browse files

Merge topic 'python-qwindow-scale' into release


 For Python Qt widget, set DPI for text scaling
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !6847
parents ab278e87 b76eee55
Pipeline #171911 failed with stage
in 0 seconds
......@@ -384,6 +384,7 @@ class QVTKRenderWindowInteractor(QVTKRWIBaseClass):
scale = self._getPixelRatio()
w = int(round(scale*self.width()))
h = int(round(scale*self.height()))
vtkRenderWindow.SetSize(self._RenderWindow, w, h)
self._Iren.SetSize(w, h)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment