Pad scroll percentage.
This commit is contained in:
parent
d89098582f
commit
9aa49b7fe8
@ -364,7 +364,7 @@ class Text(QLabel):
|
|||||||
elif y == 100:
|
elif y == 100:
|
||||||
self.scrollperc = '[bot]'
|
self.scrollperc = '[bot]'
|
||||||
else:
|
else:
|
||||||
self.scrollperc = '[{}%]'.format(y)
|
self.scrollperc = '[{:2}%]'.format(y)
|
||||||
|
|
||||||
def set_text(self, text):
|
def set_text(self, text):
|
||||||
"""Setter to be used as a Qt slot."""
|
"""Setter to be used as a Qt slot."""
|
||||||
|
Loading…
Reference in New Issue
Block a user