Skip to content

Commit 439f139

Browse files
authored
Fix prefix/suffix affecting TextBox height (#23)
1 parent 659ddc8 commit 439f139

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Devolutions.MacOS.Avalonia.Theme/Controls/TextBox.axaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<ContentPresenter Name="PrefixContent"
100100
Grid.Column="0"
101101
Content="{TemplateBinding InnerLeftContent}"
102-
Padding="3 3 3 2">
102+
Padding="3 2 3 1">
103103
<ContentPresenter.IsVisible>
104104
<Binding RelativeSource="{RelativeSource Self}" Path="Content"
105105
Converter="{x:Static StringConverters.IsNotNullOrEmpty}" />
@@ -163,7 +163,7 @@
163163
</DockPanel>
164164
<ContentPresenter Name="SuffixContent"
165165
Grid.Column="2"
166-
Padding="3 3 3 2"
166+
Padding="3 2 3 1"
167167
Content="{TemplateBinding InnerRightContent}">
168168
<ContentPresenter.IsVisible>
169169
<Binding RelativeSource="{RelativeSource Self}" Path="Content"

0 commit comments

Comments
 (0)