Skip to content
This repository has been archived by the owner on Jun 4, 2018. It is now read-only.

Commit

Permalink
Use horizontal radio buttons across top.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Feb 17, 2016
1 parent 481c689 commit f480144
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Paymetheus/CreateOrImportSeedView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@
<Button Content="Continue" IsDefault="True" Command="{Binding ContinueCommand}" Width="100" Margin="6,12,3,6" Padding="10 2"/>
</StackPanel>
<Label DockPanel.Dock="Top" FontSize="18" Content="Create or recover wallet"/>
<RadioButton GroupName="seedSelection" DockPanel.Dock="Top" Content="Create new wallet" IsChecked="{Binding CreateChecked}"/>
<RadioButton GroupName="seedSelection" DockPanel.Dock="Top" Content="Recover wallet from seed" IsChecked="{Binding ImportChecked}"/>
<StackPanel Orientation="Horizontal" DockPanel.Dock="Top" HorizontalAlignment="Center">
<StackPanel.Resources>
<Style TargetType="{x:Type RadioButton}">
<Setter Property="Width" Value="160"/>
<Setter Property="GroupName" Value="seedSelection"/>
</Style>
</StackPanel.Resources>
<RadioButton Content="Create new wallet" IsChecked="{Binding CreateChecked}"/>
<RadioButton Content="Recover wallet from seed" IsChecked="{Binding ImportChecked}"/>
</StackPanel>
<Grid>
<StackPanel Visibility="{Binding CreateChecked, Converter={StaticResource hiddenConverter}}">
<Label>
Expand Down

0 comments on commit f480144

Please sign in to comment.