tkivy: use TextInput to workaround Label texture size issue - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit e196d7b4d12cc1518197df27c1a1b3b517760ff4 DIR parent 1b36dd76901b5ff81a626fd25529f6a65edddb0b HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 11 Jun 2018 16:58:06 +0200 kivy: use TextInput to workaround Label texture size issue Diffstat: M gui/kivy/uix/dialogs/installwizard… | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) --- DIR diff --git a/gui/kivy/uix/dialogs/installwizard.py b/gui/kivy/uix/dialogs/installwizard.py t@@ -67,10 +67,6 @@ Builder.load_string(''' size_hint: None, None canvas.before: Color: - rgba: 0, 0, 0, .9 - Rectangle: - size: Window.size - Color: rgba: .239, .588, .882, 1 Rectangle: size: Window.size t@@ -192,12 +188,13 @@ Builder.load_string(''' size_hint: 1, 1 ScrollView: size_hint: 1, 1 - Label: + TextInput: color: root.text_color size_hint: 1, None text_size: self.width, None - height: self.texture_size[1] + height: self.minimum_height text: root.message + disabled: True <WizardEmailDialog> Label: