Merge branch 't-wissmann-progressbar'
This commit is contained in:
commit
e94f2f11d8
@ -151,13 +151,13 @@ Contributors, sorted by the number of commits in descending order:
|
||||
* Jimmy
|
||||
* Zach-Button
|
||||
* rikn00
|
||||
* Thorsten Wißmann
|
||||
* Patric Schmitz
|
||||
* Martin Zimmermann
|
||||
* Error 800
|
||||
* Brian Jackson
|
||||
* sbinix
|
||||
* Tobias Patzl
|
||||
* Thorsten Wißmann
|
||||
* Johannes Altmanninger
|
||||
* Samir Benmendil
|
||||
* Regina Hug
|
||||
|
@ -77,7 +77,10 @@ class Progress(QProgressBar):
|
||||
self.hide()
|
||||
|
||||
def sizeHint(self):
|
||||
"""Set the height to the text height plus some padding."""
|
||||
"""Set the height to the text height."""
|
||||
width = super().sizeHint().width()
|
||||
height = self.fontMetrics().height() + 3
|
||||
height = self.fontMetrics().height()
|
||||
return QSize(width, height)
|
||||
|
||||
def minimumSizeHint(self):
|
||||
return self.sizeHint()
|
||||
|
Loading…
Reference in New Issue
Block a user