Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/Wpf.Ui/Controls/PasswordBox/PasswordBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

<Thickness x:Key="PasswordBoxBorderThemeThickness">1,1,1,1</Thickness>
<Thickness x:Key="PasswordBoxAccentBorderThemeThickness">0,0,0,1</Thickness>
<Thickness x:Key="PasswordBoxLeftIconMargin">10,8,0,0</Thickness>
<Thickness x:Key="PasswordBoxRightIconMargin">0,8,10,0</Thickness>
<Thickness x:Key="PasswordBoxButtonMargin">0,5,4,0</Thickness>
Comment on lines -34 to -36
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identical to TextBox now (copied from there).

<Thickness x:Key="PasswordBoxLeftIconMargin">10,0,0,0</Thickness>
<Thickness x:Key="PasswordBoxRightIconMargin">0,0,10,0</Thickness>
<Thickness x:Key="PasswordBoxButtonMargin">0,0,4,0</Thickness>
<Thickness x:Key="PasswordBoxButtonPadding">0,0,0,0</Thickness>
<system:Double x:Key="PasswordBoxButtonHeight">24</system:Double>
<system:Double x:Key="PasswordBoxButtonIconSize">14</system:Double>
Expand Down Expand Up @@ -182,7 +182,7 @@
x:Name="ControlIconLeft"
Grid.Column="0"
Margin="{StaticResource PasswordBoxLeftIconMargin}"
VerticalAlignment="Top"
VerticalAlignment="Center"
Content="{TemplateBinding Icon}"
TextElement.FontSize="16"
TextElement.Foreground="{TemplateBinding Foreground}" />
Expand All @@ -196,7 +196,7 @@
x:Name="PlaceholderTextBox"
Margin="0"
Padding="1,0"
VerticalAlignment="Top"
VerticalAlignment="Center"
Foreground="{DynamicResource TextControlPlaceholderForeground}"
Text="{TemplateBinding PlaceholderText}" />
</Grid>
Expand All @@ -210,7 +210,7 @@
Margin="{StaticResource PasswordBoxButtonMargin}"
Padding="{StaticResource PasswordBoxButtonPadding}"
HorizontalAlignment="Center"
VerticalAlignment="Top"
VerticalAlignment="Center"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"
Appearance="Secondary"
Expand All @@ -236,7 +236,7 @@
Margin="{StaticResource PasswordBoxButtonMargin}"
Padding="{StaticResource PasswordBoxButtonPadding}"
HorizontalAlignment="Center"
VerticalAlignment="Top"
VerticalAlignment="Center"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"
Appearance="Secondary"
Expand All @@ -258,7 +258,7 @@
x:Name="ControlIconRight"
Grid.Column="4"
Margin="{StaticResource PasswordBoxRightIconMargin}"
VerticalAlignment="Top"
VerticalAlignment="Center"
Content="{TemplateBinding Icon}"
TextElement.FontSize="16"
TextElement.Foreground="{TemplateBinding Foreground}" />
Expand Down
Loading