Skip to content

Commit

Permalink
💄 Replaced password char in passwordbox demo
Browse files Browse the repository at this point in the history
  • Loading branch information
russkyc committed Dec 28, 2024
1 parent 6ff4905 commit 239453d
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 134 deletions.
2 changes: 1 addition & 1 deletion Russkyc.UI.Avalonia.Gallery/Views/Pages/CardView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<TextBox Watermark="Username" />
<TextBox
Classes="ShowHide"
PasswordChar=""
PasswordChar=""
Watermark="Password">
Password
</TextBox>
Expand Down
2 changes: 1 addition & 1 deletion Russkyc.UI.Avalonia.Gallery/Views/Pages/CardView.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public CardView()
<TextBlock FontSize="16" Foreground="#3F3F3F" Text="Login or sign-up to an account"/>
</StackPanel>
<TextBox Watermark="Username"/>
<TextBox Watermark="Password" PasswordChar="" Classes="ShowHide">Password</TextBox>
<TextBox Watermark="Password" PasswordChar="" Classes="ShowHide">Password</TextBox>
<Button Margin="0,16,0,0" HorizontalAlignment="Stretch" Content="Login" />
<Button HorizontalAlignment="Stretch" Classes="Ghost" Content="Create Account" />
</StackPanel>
Expand Down
2 changes: 1 addition & 1 deletion Russkyc.UI.Avalonia.Gallery/Views/Pages/TextBoxView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
Text="Disabled Textbox"
Watermark="Disabled Textbox" />
<TextBox Classes="Clearable">Clear</TextBox>
<TextBox Classes="ShowHide" PasswordChar="">Password</TextBox>
<TextBox Classes="ShowHide" PasswordChar="">Password</TextBox>
<TextBox Watermark="Watermark" />
<TextBox UseFloatingWatermark="True" Watermark="Floating Watermark">Content</TextBox>
<TextBox Text="Error">
Expand Down
Loading

0 comments on commit 239453d

Please sign in to comment.