Set style selectors
MODIFY
WalletWasabi.Gui/Controls/NoparaPasswordBox.xaml
WalletWasabi.Gui/Controls/NoparaPasswordBox.xaml
</TextBlock.IsVisible>
</TextBlock>
- <Button Name="PART_MaskedButton" DockPanel.Dock="Right" Background="Transparent" BorderThickness="0" ToolTip.Tip="Show password.">
- <Grid Height="15" Width="15">
+ <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">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center">
<DrawingPresenter.Drawing>
<DrawingGroup>
</ControlTemplate>
</Setter>
</Style>
- <Style Selector="TextBox:pointerover /template/ Border#border">
+ <Style Selector="controls|NoparaPasswordBox:pointerover /template/ Border#border">
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderHighBrush}" />
</Style>
- <Style Selector="TextBox:focus /template/ Border#border">
+ <Style Selector="controls|NoparaPasswordBox:focus /template/ Border#border">
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderHighBrush}" />
</Style>
- <Style Selector="TextBox:error /template/ Border#border">
+ <Style Selector="controls|NoparaPasswordBox:error /template/ Border#border">
<Setter Property="BorderBrush" Value="{DynamicResource ErrorBrush}" />
</Style>
- <Style Selector="TextBox">
+ <Style Selector="controls|NoparaPasswordBox">
<Setter Property="Cursor" Value="IBeam" />
</Style>
+ <Style Selector="Button">
+ <Setter Property="Cursor" Value="Arrow" />
+ </Style>
</Styles>

Set style selectors