Browse Source

fix #17931 (#17932)

Update TextBox.xaml
pull/17948/head
heartacker 2 years ago
committed by GitHub
parent
commit
a647c5c9ad
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      src/Avalonia.Themes.Fluent/Controls/TextBox.xaml

6
src/Avalonia.Themes.Fluent/Controls/TextBox.xaml

@ -126,6 +126,7 @@
<Grid ColumnDefinitions="Auto,*,Auto" >
<ContentPresenter Grid.Column="0"
Grid.ColumnSpan="1"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Content="{TemplateBinding InnerLeftContent}"/>
<DockPanel x:Name="PART_InnerDockPanel"
Grid.Column="1"
@ -182,7 +183,10 @@
</ScrollViewer.Styles>
</ScrollViewer>
</DockPanel>
<ContentPresenter Grid.Column="2" Grid.ColumnSpan="1" Content="{TemplateBinding InnerRightContent}"/>
<ContentPresenter Grid.Column="2"
Grid.ColumnSpan="1"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Content="{TemplateBinding InnerRightContent}"/>
</Grid>
</Border>
</Panel>

Loading…
Cancel
Save