electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 43a40cef577e2db69c1e475d9ea78e4d0fb05ddf
parent 731f05746e12bc9a0f11a6d31b632b35a26dc5c3
Author: ThomasV <thomasv@electrum.org>
Date:   Thu,  4 Feb 2016 11:05:40 +0100

kivy: Button inherits from Label. reordering

Diffstat:
Mgui/kivy/main.kv | 36+++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)

diff --git a/gui/kivy/main.kv b/gui/kivy/main.kv @@ -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 #########################