Padding for point-label
This commit is contained in:
parent
8ea44f22ea
commit
2032b8eb1a
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue