tkivy: fix settings layout - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1c7f3c65e29c4dedb9d94a113d39bcb159e239f5 DIR parent 37e93928ab2786f107332a87551433341702ea27 HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 7 Dec 2015 15:59:59 +0100 kivy: fix settings layout Diffstat: M gui/kivy/main.kv | 4 ++-- M gui/kivy/main_window.py | 2 +- M gui/kivy/uix/ui_screens/settings.kv | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) --- DIR diff --git a/gui/kivy/main.kv b/gui/kivy/main.kv t@@ -322,7 +322,7 @@ orientation: 'vertical' title: '' description: '' - size_hint: 1, None + size_hint: 1, 1 Label: id: title text: self.parent.title t@@ -333,7 +333,7 @@ Label: text: self.parent.description size_hint: 1, 1 - text_size: self.size + text_size: self.width, None color: 0.8, 0.8, 0.8, 1 halign: 'left' DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py t@@ -808,7 +808,7 @@ class ElectrumWindow(App): self.protected(self._change_password, ()) def _change_password(self, old_password): - if old_password: + if self.wallet.use_encryption: try: self.wallet.check_password(old_password) except InvalidPassword: DIR diff --git a/gui/kivy/uix/ui_screens/settings.kv b/gui/kivy/uix/ui_screens/settings.kv t@@ -13,7 +13,7 @@ Popup: CardSeparator SettingsItem: title: _('Denomination') + ' (' + app.base_unit + ')' - description: "Base unit for Bitcoin amounts." + description: _("Base unit for Bitcoin amounts.") on_release: app._rotate_bu() self.title = _('Denomination') + ' (' + app.base_unit + ')'