kivy: Button inherits from Label. reordering
This commit is contained in:
parent
731f05746e
commit
43a40cef57
|
@ -3,10 +3,27 @@
|
||||||
#:import Factory kivy.factory.Factory
|
#:import Factory kivy.factory.Factory
|
||||||
#:import _ electrum_gui.kivy.i18n._
|
#: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>
|
<Button>
|
||||||
on_parent: self.MIN_STATE_TIME = 0.1
|
on_parent: self.MIN_STATE_TIME = 0.1
|
||||||
on_text: _.bind(self)
|
|
||||||
|
<ListItemButton>
|
||||||
|
font_size: '12sp'
|
||||||
|
|
||||||
|
# Custom Global Widgets
|
||||||
|
|
||||||
<EmptyLabel@Label>
|
<EmptyLabel@Label>
|
||||||
color: (0.8, 0.8, 0.8, 1)
|
color: (0.8, 0.8, 0.8, 1)
|
||||||
|
@ -19,21 +36,6 @@
|
||||||
size_hint: 1, None
|
size_hint: 1, None
|
||||||
height: self.minimum_height
|
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
|
# Dialogs
|
||||||
#########################
|
#########################
|
||||||
|
|
Loading…
Reference in New Issue