- self.stop_button = Button(
- text='Quit', size=(100, 50),
- pos=((1026 - 100) / 2, 650))
- self.stop_button.bind(on_press=self.app.stop_app)
- self.start_button = Button(
- text=self.START, size=(500, 50),
- pos=((1026 - 250) / 2, 600))
- self.start_button.bind(on_press=self.app.start_game)
+ self.stop_button = Label(
+ text='[ref=quit][color=ff0066]Quit[/color][/ref]',
+ font_size=30,
+ markup=True,
+ size=(200, 40),
+ pos=((1026 - 200) / 2 - 100, 100))
+ self.stop_button.bind(on_ref_press=self.app.stop_app)
+ self.start_button = Label(
+ text="[ref=start][color=00ff66]%s[/color][/ref]" % self.START,
+ font_size=30,
+ markup=True, size=(200, 40),
+ pos=((1026 - 200) / 2 + 100, 100))
+ self.start_button.bind(on_ref_press=self.app.start_game)