Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LMS
FishUI
Commits
b17fd617
Commit
b17fd617
authored
Jun 19, 2020
by
Andy Regensky
Browse files
Bugfix: Size policies of fisheye and perspective canvas did not match and led to invalid scaling
parent
22471ec4
Changes
1
Hide whitespace changes
Inline
Side-by-side
fishui/widgets/DistortionVisualizationWidget.py
View file @
b17fd617
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment