URI: 
       tkivy: fix scrollview in choice_dialog - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 5502cab796e6e7ce04865abf0479798d83c51dee
   DIR parent b878c010da775b114e0dc06373744b9a2ce56606
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu, 21 Jan 2016 07:19:22 +0100
       
       kivy: fix scrollview in choice_dialog
       
       Diffstat:
         M gui/kivy/uix/dialogs/choice_dialog… |      10 ++++++----
       
       1 file changed, 6 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/gui/kivy/uix/dialogs/choice_dialog.py b/gui/kivy/uix/dialogs/choice_dialog.py
       t@@ -24,7 +24,7 @@ Builder.load_string('''
                        orientation: 'vertical'
                        id: choices
                        cols: 2
       -                size_hint: 1, 1
       +                size_hint: 1, None
                BoxLayout:
                    orientation: 'horizontal'
                    size_hint: 1, 0.2
       t@@ -46,6 +46,8 @@ class ChoiceDialog(Factory.Popup):
        
            def __init__(self, title, choices, key, callback):
                Factory.Popup.__init__(self)
       +        layout = self.ids.choices
       +        layout.bind(minimum_height=layout.setter('height'))
                for k, v in choices.items():
                    l = Label(text=v)
                    l.height = '48dp'
       t@@ -57,9 +59,9 @@ class ChoiceDialog(Factory.Popup):
                    cb.bind(active=f)
                    if k == key:
                        cb.active = True
       -            self.ids.choices.add_widget(l)
       -            self.ids.choices.add_widget(cb)
       -        self.ids.choices.add_widget(Widget(size_hint_y=1))
       +            layout.add_widget(l)
       +            layout.add_widget(cb)
       +        layout.add_widget(Widget(size_hint_y=1))
                self.callback = callback
                self.title = title
                self.value = key