Skip to content

Commit

Permalink
Merge pull request #5327 from irgolic/preprocess-sizehint-fix
Browse files Browse the repository at this point in the history
OWPreprocess: Remove sizeHint workaround
  • Loading branch information
ajdapretnar authored Mar 12, 2021
2 parents 23f229b + 70ec421 commit 343f80b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Orange/widgets/data/owpreprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -1406,10 +1406,6 @@ def __update_size_constraint(self):
min(max(sh.width() + scroll_width + 2, self.controlArea.width()),
520))

def sizeHint(self):
sh = super().sizeHint()
return sh.expandedTo(QSize(sh.width() + 300, 500))

def send_report(self):
pp = [(self.controler.model().index(i, 0).data(Qt.DisplayRole), w)
for i, w in enumerate(self.controler.view.widgets())]
Expand Down

0 comments on commit 343f80b

Please sign in to comment.