Skip to content

Commit

Permalink
clip the slide out size to the pane size
Browse files Browse the repository at this point in the history
  • Loading branch information
sccolbert committed Jul 2, 2013
1 parent e687bd4 commit 3536569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enaml/qt/docking/q_dock_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def _animationGeo(self, container, position):
"""
pane = self.parent().centralPane()
hint = container.sizeHint()
hint = container.sizeHint().boundedTo(pane.size())
if position == QDockBar.North:
start_pos = QPoint(0, -hint.height())
end_pos = QPoint(0, 0)
Expand Down

0 comments on commit 3536569

Please sign in to comment.