diff --git a/src/Semi.Avalonia/Controls/TextBox.axaml b/src/Semi.Avalonia/Controls/TextBox.axaml index fc59999..30b425c 100644 --- a/src/Semi.Avalonia/Controls/TextBox.axaml +++ b/src/Semi.Avalonia/Controls/TextBox.axaml @@ -24,35 +24,6 @@ - - - - - - - - - - - - - - - - - @@ -126,8 +97,7 @@ SelectionEnd="{TemplateBinding SelectionEnd}" SelectionForegroundBrush="{TemplateBinding SelectionForegroundBrush}" SelectionStart="{TemplateBinding SelectionStart}" - Text="{TemplateBinding Text, - Mode=TwoWay}" + Text="{TemplateBinding Text, Mode=TwoWay}" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" /> @@ -143,8 +113,7 @@ Name="PART_RevealButton" Grid.Column="3" Margin="4,0,0,0" - IsChecked="{TemplateBinding RevealPassword, - Mode=TwoWay}" + IsChecked="{TemplateBinding RevealPassword, Mode=TwoWay}" IsVisible="False" Theme="{StaticResource InputToggleButton}" /> @@ -266,8 +235,8 @@ - + @@ -290,7 +259,7 @@ BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}"> - + + TextWrapping="{TemplateBinding TextWrapping}"> + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + @@ -460,4 +510,32 @@ + + + + + + + + + + + + + + + +