17b9786e8c
Add indicator when creating a wallet
38 lines
1.3 KiB
XML
38 lines
1.3 KiB
XML
<ContentDialog
|
|
x:Class="Wallet.Avalonia.CreateWalletView"
|
|
xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:vm="using:Wallet"
|
|
Title="Create Wallet"
|
|
x:DataType="vm:CreateWalletViewModel"
|
|
CloseButtonText="Cancel"
|
|
IsPrimaryButtonEnabled="{Binding !Active}"
|
|
IsSecondaryButtonEnabled="{Binding !Active}"
|
|
PrimaryButtonText="Create">
|
|
<Grid>
|
|
<StackPanel Width="400" IsEnabled="{Binding !Active}">
|
|
<TextBox
|
|
Margin="0,0,0,18"
|
|
Text="{Binding Name}"
|
|
Watermark="Enter Wallet name" />
|
|
<TextBox
|
|
Margin="0,0,0,18"
|
|
Classes="revealPasswordButton"
|
|
PasswordChar="●"
|
|
Text="{Binding Password}"
|
|
Watermark="Enter password" />
|
|
<TextBox
|
|
Classes="revealPasswordButton"
|
|
PasswordChar="●"
|
|
Watermark="Confirm password" />
|
|
</StackPanel>
|
|
<ProgressRing
|
|
Width="48"
|
|
Height="48"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
IsActive="{Binding Active}"
|
|
IsVisible="{Binding Active}" />
|
|
</Grid>
|
|
</ContentDialog>
|