URI: 
       tkivy wizard: fix seed display - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 4db45ac7890191f349a61eeb9dcb7b0d4b795c12
   DIR parent 2436c4f904565eb4a22c2dd8f50a32e946d9717b
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Mon, 15 Feb 2016 17:33:47 +0100
       
       kivy wizard: fix seed display
       
       Diffstat:
         M gui/kivy/uix/dialogs/create_restor… |      77 +++++++++++++------------------
       
       1 file changed, 33 insertions(+), 44 deletions(-)
       ---
   DIR diff --git a/gui/kivy/uix/dialogs/create_restore.py b/gui/kivy/uix/dialogs/create_restore.py
       t@@ -137,6 +137,29 @@ Builder.load_string('''
                self.parent.new_word(self.text)
        
        
       +<SeedButton@Button>:
       +    height: dp(100)
       +    border: 4, 4, 4, 4
       +    halign: 'justify'
       +    valign: 'top'
       +    font_size: '18dp'
       +    text_size: self.width - dp(24), self.height - dp(12)
       +    color: .1, .1, .1, 1
       +    background_normal: 'atlas://gui/kivy/theming/light/white_bg_round_top'
       +    background_down: self.background_normal
       +    size_hint_y: None
       +
       +
       +<SeedLabel@Label>:
       +    font_size: '12sp'
       +    text_size: self.width, None
       +    size_hint: 1, None
       +    height: self.texture_size[1]
       +    halign: 'justify'
       +    valign: 'middle'
       +    border: 4, 4, 4, 4
       +
       +
        <RestoreSeedDialog>
            word: ''
            Label:
       t@@ -152,38 +175,17 @@ Builder.load_string('''
                spacing: '12dp'
                size_hint: 1, None
                height: self.minimum_height
       -        Button:
       -            border: 4, 4, 4, 4
       -            halign: 'justify'
       -            valign: 'middle'
       -            font_size: self.width/15
       -            text_size: self.width - dp(24), self.height - dp(12)
       -            color: .1, .1, .1, 1
       -            background_normal: 'atlas://gui/kivy/theming/light/white_bg_round_top'
       -            background_down: self.background_normal
       +        SeedButton:
                    id: text_input_seed
       -            size_hint_y: None
       -            height: dp(100)
                    text: ''
                    on_text: Clock.schedule_once(root.on_text)
       -        Label:
       -            font_size: '12sp'
       -            text_size: self.width, None
       -            size_hint: 1, None
       -            height: self.texture_size[1]
       -            halign: 'justify'
       -            valign: 'middle'
       +        SeedLabel:
                    text: root.message
       -            on_ref_press:
       -                import webbrowser
       -                webbrowser.open('https://electrum.org/faq.html#seed')
       -
                BoxLayout:
                    id: suggestions
                    height: '35dp'
                    size_hint: 1, None
                    new_word: root.on_word
       -
                BoxLayout:
                    id: line1
                    update_amount: root.update_text
       t@@ -294,33 +296,20 @@ Builder.load_string('''
                text_size: self.width, None
                height: self.texture_size[1]
                text: "[b]PLEASE WRITE DOWN YOUR SEED PHRASE[/b]"
       -
            GridLayout:
                id: grid
                cols: 1
                pos_hint: {'center_y': .5}
                size_hint_y: None
       -        height: dp(180)
       +        height: self.minimum_height
                orientation: 'vertical'
       -        Button:
       -            border: 4, 4, 4, 4
       -            halign: 'justify'
       -            valign: 'middle'
       -            font_size: self.width/15
       -            text_size: self.width - dp(24), self.height - dp(12)
       -            color: .1, .1, .1, 1
       -            background_normal: 'atlas://gui/kivy/theming/light/white_bg_round_top'
       -            background_down: self.background_normal
       +        spacing: '12dp'
       +        SeedButton:
                    text: root.seed_text
       -        Label:
       -            rows: 1
       -            size_hint: 1, .7
       -            border: 4, 4, 4, 4
       -            halign: 'justify'
       -            valign: 'middle'
       -            font_size: self.width/21
       +        SeedLabel:
                    text: root.message
       -            text_size: self.width - dp(24), self.height - dp(12)
       +    Widget:
       +        size_hint: 1, 1
            GridLayout:
                rows: 1
                spacing: '12dp'
       t@@ -408,9 +397,9 @@ class RestoreSeedDialog(WizardDialog):
                self.mnemonic = Mnemonic('en')
        
            def on_text(self, dt):
       -        text = self.ids.text_input_seed.text
       -        self.ids.next.disabled = not bool(self._test(text))
       +        self.ids.next.disabled = not bool(self._test(self.get_seed_text()))
        
       +        text = self.ids.text_input_seed.text
                if not text:
                    last_word = ''
                elif text[-1] == ' ':