We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1f2608 commit 556e11aCopy full SHA for 556e11a
eventsapp/uix/buttons/themebutton.py
@@ -12,13 +12,14 @@
12
13
class ThemeButton(Button):
14
15
- background_normal = StringProperty('data/images/btn.png')
16
- background_down = StringProperty('data/images/btn.png')
+ background_normal = StringProperty('data/images/btn1.png')
+ background_down = StringProperty('data/images/btn1.png')
17
18
Builder.load_string('''
19
<ThemeButton>:
20
font_size: dp(12)
21
border: 10, 10, 10, 10
22
+ color: 0, 0, 0, 1
23
background_normal: root.background_normal
24
background_down: root.background_down
25
opacity: 1 if self.state == 'normal' else .9
0 commit comments