Skip to content

Commit

Permalink
Merge pull request #3322 from MrLeeh/patch-1
Browse files Browse the repository at this point in the history
Fixed error with QSizePolicy
  • Loading branch information
tacaswell committed Aug 28, 2014
1 parent 6ed9211 commit 9891b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/backends/backend_qt5.py
Expand Up @@ -610,8 +610,8 @@ def _init_toolbar(self):
self.locLabel.setAlignment(
QtCore.Qt.AlignRight | QtCore.Qt.AlignTop)
self.locLabel.setSizePolicy(
QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
QtGui.QSizePolicy.Ignored))
QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
QtWidgets.QSizePolicy.Ignored))
labelAction = self.addWidget(self.locLabel)
labelAction.setVisible(True)

Expand Down

0 comments on commit 9891b67

Please sign in to comment.