Better button placement
authorNeil <neil@dip.sun.ac.za>
Wed, 17 Apr 2013 12:01:15 +0000 (14:01 +0200)
committerNeil <neil@dip.sun.ac.za>
Wed, 17 Apr 2013 12:01:15 +0000 (14:01 +0200)
erdslangetjie/__main__.py

index b01c9ef8db1bbbf07d70add1dfe78e12cef67153..0141bd97ce3cd02f176ac332a566917c4a7a0b90 100644 (file)
@@ -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)