URI: 
       tMerge pull request #1425 from kizmc/wizard-layout - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 85cc7b281bdd2bea791771de0c0f6000cff9f325
   DIR parent 9455815ad0089486bcd3ceef447b7cc704190f47
  HTML Author: ThomasV <electrumdev@gmail.com>
       Date:   Wed, 26 Aug 2015 19:33:33 +0200
       
       Merge pull request #1425 from kizmc/wizard-layout
       
       Fixed GroupBox layout in installwizard
       Diffstat:
         M gui/qt/installwizard.py             |      26 ++++++++++++++++++++++----
       
       1 file changed, 22 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
       t@@ -87,25 +87,37 @@ class InstallWizard(QDialog):
        
            def restore_or_create(self):
                vbox = QVBoxLayout()
       +
                main_label = QLabel(_("Electrum could not find an existing wallet."))
                vbox.addWidget(main_label)
       +
                grid = QGridLayout()
                grid.setSpacing(5)
       +
                gb1 = QGroupBox(_("What do you want to do?"))
                vbox.addWidget(gb1)
       +        vbox1 = QVBoxLayout()
       +        gb1.setLayout(vbox1)
       +
                b1 = QRadioButton(gb1)
                b1.setText(_("Create new wallet"))
                b1.setChecked(True)
       +
                b2 = QRadioButton(gb1)
                b2.setText(_("Restore a wallet or import keys"))
       +
                group1 = QButtonGroup()
                group1.addButton(b1)
                group1.addButton(b2)
       -        vbox.addWidget(b1)
       -        vbox.addWidget(b2)
       +        vbox1.addWidget(b1)
       +        vbox1.addWidget(b2)
        
                gb2 = QGroupBox(_("Wallet type:"))
                vbox.addWidget(gb2)
       +
       +        vbox2 = QVBoxLayout()
       +        gb2.setLayout(vbox2)
       +
                group2 = QButtonGroup()
        
                self.wallet_types = [
       t@@ -120,9 +132,10 @@ class InstallWizard(QDialog):
                        continue
                    button = QRadioButton(gb2)
                    button.setText(name)
       -            vbox.addWidget(button)
       +            vbox2.addWidget(button)
                    group2.addButton(button)
                    group2.setId(button, i)
       +
                    if i==0:
                        button.setChecked(True)
        
       t@@ -326,11 +339,15 @@ class InstallWizard(QDialog):
                vbox.addWidget(QLabel(title))
                gb2 = QGroupBox(msg)
                vbox.addWidget(gb2)
       +
       +        vbox2 = QVBoxLayout()
       +        gb2.setLayout(vbox2)
       +
                group2 = QButtonGroup()
                for i,c in enumerate(choices):
                    button = QRadioButton(gb2)
                    button.setText(c[1])
       -            vbox.addWidget(button)
       +            vbox2.addWidget(button)
                    group2.addButton(button)
                    group2.setId(button, i)
                    if i==0:
       t@@ -427,6 +444,7 @@ class InstallWizard(QDialog):
                    elif wallet_type == 'hardware':
                        hardware_wallets = map(lambda x:(x[1],x[2]), filter(lambda x:x[0]=='hardware', electrum.wallet.wallet_types))
                        wallet_type = self.choice(_("Hardware Wallet"), 'Select your hardware wallet', hardware_wallets)
       +
                        if not wallet_type:
                            return
                    elif wallet_type == 'twofactor':