|
|
|
|
@ -3,27 +3,10 @@
|
|
|
|
|
#:import Factory kivy.factory.Factory |
|
|
|
|
#:import _ electrum_gui.kivy.i18n._ |
|
|
|
|
|
|
|
|
|
# Custom Global Widgets |
|
|
|
|
<Button> |
|
|
|
|
on_parent: self.MIN_STATE_TIME = 0.1 |
|
|
|
|
on_text: _.bind(self) |
|
|
|
|
|
|
|
|
|
<EmptyLabel@Label> |
|
|
|
|
color: (0.8, 0.8, 0.8, 1) |
|
|
|
|
size_hint_y: None |
|
|
|
|
text_size: self.width, None |
|
|
|
|
height: self.texture_size[1] |
|
|
|
|
|
|
|
|
|
<VGridLayout@GridLayout>: |
|
|
|
|
rows: 1 |
|
|
|
|
size_hint: 1, None |
|
|
|
|
height: self.minimum_height |
|
|
|
|
|
|
|
|
|
########################### |
|
|
|
|
# Global Defaults |
|
|
|
|
########################### |
|
|
|
|
<TextInput> |
|
|
|
|
on_focus: app._focused_widget = root |
|
|
|
|
|
|
|
|
|
<Label> |
|
|
|
|
markup: True |
|
|
|
|
@ -31,9 +14,28 @@
|
|
|
|
|
font_size: '16sp' |
|
|
|
|
on_text: _.bind(self) |
|
|
|
|
|
|
|
|
|
<TextInput> |
|
|
|
|
on_focus: app._focused_widget = root |
|
|
|
|
|
|
|
|
|
<Button> |
|
|
|
|
on_parent: self.MIN_STATE_TIME = 0.1 |
|
|
|
|
|
|
|
|
|
<ListItemButton> |
|
|
|
|
font_size: '12sp' |
|
|
|
|
|
|
|
|
|
# Custom Global Widgets |
|
|
|
|
|
|
|
|
|
<EmptyLabel@Label> |
|
|
|
|
color: (0.8, 0.8, 0.8, 1) |
|
|
|
|
size_hint_y: None |
|
|
|
|
text_size: self.width, None |
|
|
|
|
height: self.texture_size[1] |
|
|
|
|
|
|
|
|
|
<VGridLayout@GridLayout>: |
|
|
|
|
rows: 1 |
|
|
|
|
size_hint: 1, None |
|
|
|
|
height: self.minimum_height |
|
|
|
|
|
|
|
|
|
######################### |
|
|
|
|
# Dialogs |
|
|
|
|
######################### |
|
|
|
|
|