Skip to content

Commit ee5402a

Browse files
authored
Merge pull request #104 from gaurav-b98/master
Changed the background image of the buttons on the home page.
2 parents a17aeaf + dd375fa commit ee5402a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

eventsapp/data/images/btn1.png

7.09 KB
Loading

eventsapp/uix/buttons/themebutton.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212

1313
class ThemeButton(Button):
1414

15-
background_normal = StringProperty('data/images/btn.png')
16-
background_down = StringProperty('data/images/btn.png')
15+
background_normal = StringProperty('data/images/btn1.png')
16+
background_down = StringProperty('data/images/btn1.png')
1717

1818
Builder.load_string('''
1919
<ThemeButton>:
2020
font_size: dp(12)
2121
border: 10, 10, 10, 10
22+
color: 0, 0, 0, 1
2223
background_normal: root.background_normal
2324
background_down: root.background_down
2425
opacity: 1 if self.state == 'normal' else .9

0 commit comments

Comments
 (0)