Pad scroll percentage.

This commit is contained in:
Florian Bruhin 2014-02-11 13:06:02 +01:00
parent d89098582f
commit 9aa49b7fe8

View File

@ -364,7 +364,7 @@ class Text(QLabel):
elif y == 100:
self.scrollperc = '[bot]'
else:
self.scrollperc = '[{}%]'.format(y)
self.scrollperc = '[{:2}%]'.format(y)
def set_text(self, text):
"""Setter to be used as a Qt slot."""