We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e328f0 commit 0da69a0Copy full SHA for 0da69a0
HighScores.py
@@ -12,11 +12,14 @@ def __init__(self, default_user_name='Name'):
12
button = ui.Button(background_color='white',
13
frame=(360, 175, 75, 32))
14
button.action = self.button_tapped
15
- button.image = ui.Image('ionicons-arrow-right-a-24')
16
self.add_subview(button)
17
self.present('sheet')
18
self.wait_modal()
19
+ def draw(self):
20
+ img = ui.Image.named('ionicons-arrow-right-a-24')
21
+ img.draw(360, 175, 24, 24)
22
+
23
def button_tapped(self, sender):
24
self.close()
25
0 commit comments