tkivy: better layout for tx window - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit b70f8c888a33060d7d166e2672cab96002d5fd01 DIR parent 69d983fcd5501bbe4afc61b741f0fc7c5851d373 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 29 Oct 2015 04:58:32 +0100 kivy: better layout for tx window Diffstat: A gui/kivy/uix/ui_screens/transactio… | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/kivy/uix/ui_screens/transaction.kv b/gui/kivy/uix/ui_screens/transaction.kv t@@ -0,0 +1,40 @@ +#:import Decimal decimal.Decimal + + +Popup: + id: popup + title: _('Transaction') + tx_hash: '' + + AnchorLayout: + anchor_x: 'center' + + BoxLayout: + orientation: 'vertical' + + GridLayout: + size_hint: 1, None + height: '300dp' + cols: 2 + + Label: + text: "txid" + Label: + text: popup.tx_hash + size_hint_y: None + text_size: self.width, None + + BoxLayout: + size_hint: 1, None + height: '48dp' + Widget: + size_hint: 0.7, None + height: '48dp' + Button: + size_hint: 0.3, None + height: '48dp' + text: _('OK') + on_release: popup.dismiss() + + Widget: + size_hint: 1, None