Fix prompt positioning with top statusbar
This commit is contained in:
parent
25bb720f09
commit
16b3b7a262
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user