We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba6781 commit 8b87b4fCopy full SHA for 8b87b4f
Orange/widgets/utils/overlay.py
@@ -150,6 +150,10 @@ def __layout(self):
150
hpolicy = policy.horizontalPolicy()
151
vpolicy = policy.verticalPolicy()
152
153
+ if not effectivesh.isValid():
154
+ effectivesh = QSize(0, 0)
155
+ vpolicy = hpolicy = QSizePolicy.Ignored
156
+
157
def getsize(hint, minimum, maximum, policy):
158
if policy == QSizePolicy.Ignored:
159
return maximum
0 commit comments