button visibility if pw empty
MODIFY
WalletWasabi.Gui/Controls/NoparaPasswordBox.xaml
WalletWasabi.Gui/Controls/NoparaPasswordBox.xaml
</TextBlock>
<Button Name="PART_MaskedButton" DockPanel.Dock="Right" Padding="5 0 5 0" Margin="0" Background="Transparent" BorderThickness="0" ToolTip.Tip="Show password.">
- <Grid Height="14" Width="14">
+ <Grid Height="15" Width="15">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center">
<DrawingPresenter.Drawing>
<DrawingGroup>
</DrawingPresenter.Drawing>
</DrawingPresenter>
</Grid>
+ <Button.IsVisible>
+ <Binding RelativeSource="{RelativeSource TemplatedParent}"
+ Path="Text"
+ Converter="{x:Static StringConverters.IsNotNullOrEmpty}" />
+ </Button.IsVisible>
</Button>
<DataValidationErrors>

button visibility if pw empty