Commit b17fd617 authored by Andy Regensky's avatar Andy Regensky
Browse files

Bugfix: Size policies of fisheye and perspective canvas did not match and led to invalid scaling

parent 22471ec4
......@@ -27,7 +27,7 @@ class DistortionVisualizationWidget(QWidget):
self.perspectiveLabel.setText("Perspective domain")
self.perspectiveLabel.setStyleSheet("font-weight: bold; font-size: 16px")
self.perspectiveLabel.setAlignment(Qt.AlignCenter)
self.perspectiveLabel.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed)
self.perspectiveLabel.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
self.perspectiveBlockWidget = AspectRatioWidget(PerspectiveBlockWidget(self, viewModel), self)
# Constrain both labels to have same minimum width
......
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