Padding for point-label

This commit is contained in:
Sebastian Lohff 2013-11-22 02:28:24 +01:00
parent 8ea44f22ea
commit 2032b8eb1a
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Player(QtGui.QWidget):
def add_points(self, amount): def add_points(self, amount):
self.points += amount self.points += amount
self.points_label.setText(str(self.points)) self.points_label.setText("% 5s" % (self.points,))
@classmethod @classmethod
def gen_player(clazz, num, parent=None): def gen_player(clazz, num, parent=None):