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]" + self.START + "[/color][/ref]",
+ text="[ref=start][color=00ff66]%s[/color][/ref]" % self.START,
font_size=30,
- markup = True, size=(200, 40),
+ markup=True, size=(200, 40),
pos=((1026 - 200) / 2 + 100, 100))
self.start_button.bind(on_ref_press=self.app.start_game)
self.add_widget(self.stop_button)
QUIET = False # kivy logging - change for release
if QUIET:
- for hdlr in Logger.handlers[:]:
- if not isinstance(hdlr, LoggerHistory):
- Logger.removeHandler(hdlr)
+ for hdlr in Logger.handlers[:]:
+ if not isinstance(hdlr, LoggerHistory):
+ Logger.removeHandler(hdlr)
from kivy.utils import platform
from kivy.config import Config