Fix prompt positioning with top statusbar

This commit is contained in:
Florian Bruhin 2016-11-02 22:51:27 +01:00
parent 25bb720f09
commit 16b3b7a262

View File

@ -251,7 +251,7 @@ class MainWindow(QWidget):
topleft = QPoint(left, self.status.geometry().bottom())
bottom = self.status.height() + size_hint.height()
bottom = qtutils.check_overflow(bottom, 'int', fatal=False)
bottomright = QPoint(width,
bottomright = QPoint(left + width,
min(self.height() - max_height_padding, bottom))
else:
raise ValueError("Invalid position {}!".format(status_position))