diff --git a/qutebrowser/mainwindow/statusbar/progress.py b/qutebrowser/mainwindow/statusbar/progress.py index 6d52455d7..a1382d465 100644 --- a/qutebrowser/mainwindow/statusbar/progress.py +++ b/qutebrowser/mainwindow/statusbar/progress.py @@ -79,5 +79,9 @@ class Progress(QProgressBar): def sizeHint(self): """Set the height to the text height plus some padding.""" width = super().sizeHint().width() - height = self.fontMetrics().height() + 3 + height = self.fontMetrics().height() return QSize(width, height) + + def minimumSizeHint(self): + """Set the height to the text height plus some padding.""" + return self.sizeHint()