Made fonts higher resolution
parent
3f90be42d0
commit
e83a418702
|
@ -21,7 +21,8 @@ class LevelMenu:
|
|||
current_text_label_y = self.y_pos
|
||||
|
||||
for index, level in enumerate(self.levels):
|
||||
text_label = TextLabel(level.name, current_text_label_x, current_text_label_y, 35)
|
||||
text_label = TextLabel(level.name, current_text_label_x, current_text_label_y, 60)
|
||||
text_label.position_scale.scale = (0.5, 0.5)
|
||||
# text_label = TextLabel(self.extract_level(level.name), current_text_label_x, current_text_label_y, 35)
|
||||
text_label.add_click_listener(lambda: self.level_select_listener(level))
|
||||
self.level_text_labels.append(text_label)
|
||||
|
@ -32,5 +33,5 @@ class LevelMenu:
|
|||
else:
|
||||
current_text_label_x += self.width / self.column_count
|
||||
|
||||
def extract_level(name):
|
||||
return name
|
||||
def extract_level(self):
|
||||
return self
|
||||
|
|
Loading…
Reference in New Issue