From: Neil Date: Wed, 17 Apr 2013 12:01:15 +0000 (+0200) Subject: Better button placement X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=d6b84b3d927fc6282e0810449598d19d59957713;p=erdslangetjie.git Better button placement --- diff --git a/erdslangetjie/__main__.py b/erdslangetjie/__main__.py index b01c9ef..0141bd9 100644 --- a/erdslangetjie/__main__.py +++ b/erdslangetjie/__main__.py @@ -248,12 +248,12 @@ class Screen(Widget): texture=self.image.texture) self.stop_button = Button( - text='Quit', size=(100, 50), - pos=((1026 - 100) / 2, 650)) + text='Quit', size=(200, 40), + pos=((1026 - 200) / 2 - 100, 100)) 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)) + text=self.START, size=(200, 40), + pos=((1026 - 200) / 2 + 100, 100)) self.start_button.bind(on_press=self.app.start_game) self.add_widget(self.stop_button) self.add_widget(self.start_button)