selector = SelectorWidget()
self.add(selector)
- easy = TextWidget((100, 100), 'Easy', fontsize=32, colour='white')
+ title = TextWidget((100, 50), 'Select difficulty', colour='white')
+ self.add(title)
+
+ easy = TextWidget((200, 150), 'Easy', fontsize=32, colour='white')
easy.add_callback('click', self.easy_game)
selector.add(easy)
standard = TextWidget(
- (100, 150), 'Standard', fontsize=32, colour='white')
+ (200, 200), 'Standard', fontsize=32, colour='white')
standard.add_callback('click', self.standard_game)
selector.add(standard)
- hard = TextWidget((100, 200), 'Hard', fontsize=32, colour='white')
+ hard = TextWidget((200, 250), 'Hard', fontsize=32, colour='white')
hard.add_callback('click', self.hard_game)
selector.add(hard)