kivy: Button inherits from Label. reordering

This commit is contained in:
ThomasV 2016-02-04 11:05:40 +01:00
parent 731f05746e
commit 43a40cef57
1 changed files with 19 additions and 17 deletions

View File

@ -3,10 +3,27 @@
#:import Factory kivy.factory.Factory
#:import _ electrum_gui.kivy.i18n._
# Custom Global Widgets
###########################
# Global Defaults
###########################
<Label>
markup: True
font_name: 'Roboto'
font_size: '16sp'
on_text: _.bind(self)
<TextInput>
on_focus: app._focused_widget = root
<Button>
on_parent: self.MIN_STATE_TIME = 0.1
on_text: _.bind(self)
<ListItemButton>
font_size: '12sp'
# Custom Global Widgets
<EmptyLabel@Label>
color: (0.8, 0.8, 0.8, 1)
@ -19,21 +36,6 @@
size_hint: 1, None
height: self.minimum_height
###########################
# Global Defaults
###########################
<TextInput>
on_focus: app._focused_widget = root
<Label>
markup: True
font_name: 'Roboto'
font_size: '16sp'
on_text: _.bind(self)
<ListItemButton>
font_size: '12sp'
#########################
# Dialogs
#########################