From c55a253f6d8b659bacaac90ab4ea4ccb9fe7ab15 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 14 Dec 2015 13:37:19 +0100 Subject: [PATCH] kivy: improve layout --- gui/kivy/uix/dialogs/label_dialog.py | 1 + gui/kivy/uix/ui_screens/receive.kv | 1 + gui/kivy/uix/ui_screens/send.kv | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gui/kivy/uix/dialogs/label_dialog.py b/gui/kivy/uix/dialogs/label_dialog.py index f04b75095..cf7aa2def 100644 --- a/gui/kivy/uix/dialogs/label_dialog.py +++ b/gui/kivy/uix/dialogs/label_dialog.py @@ -8,6 +8,7 @@ Builder.load_string(''' id: popup title: '' size_hint: 0.8, 0.3 + pos_hint: {'top':0.9} BoxLayout: orientation: 'vertical' Widget: diff --git a/gui/kivy/uix/ui_screens/receive.kv b/gui/kivy/uix/ui_screens/receive.kv index 5adef2def..d5cce9f59 100644 --- a/gui/kivy/uix/ui_screens/receive.kv +++ b/gui/kivy/uix/ui_screens/receive.kv @@ -51,6 +51,7 @@ ReceiveScreen: BoxLayout: size_hint: 1, None height: blue_bottom.item_height + spacing: '5dp' Image: source: 'atlas://gui/kivy/theming/light/globe' size_hint: None, None diff --git a/gui/kivy/uix/ui_screens/send.kv b/gui/kivy/uix/ui_screens/send.kv index d6a380a72..76a47081a 100644 --- a/gui/kivy/uix/ui_screens/send.kv +++ b/gui/kivy/uix/ui_screens/send.kv @@ -23,6 +23,7 @@ SendScreen: id: blue_bottom size_hint: 1, None height: self.minimum_height + spacing: '5dp' BoxLayout: size_hint: 1, None height: blue_bottom.item_height @@ -42,6 +43,7 @@ SendScreen: BoxLayout: size_hint: 1, None height: blue_bottom.item_height + spacing: '5dp' Image: source: 'atlas://gui/kivy/theming/light/globe' size_hint: None, None @@ -52,13 +54,11 @@ SendScreen: default_text: _('Amount') text: s.amount if s.amount else _('Amount') on_release: app.amount_dialog(s, True) - CardSeparator: opacity: message_selection.opacity color: blue_bottom.foreground_color BoxLayout: id: message_selection - opacity: 1 size_hint: 1, None height: blue_bottom.item_height spacing: '5dp'