Skip to content

Commit 8d15c27

Browse files
committed
ui: fix textbox layout bug in v11
1 parent 42f5793 commit 8d15c27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/shared/Core/UI/Assets/Controls.axaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<Styles xmlns="https://github.com/avaloniaui"
22
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
33
<StyleInclude Source="avares://gcmcore/UI/Assets/ButtonHyperlink.axaml"/>
4+
<Style Selector="TextBox">
5+
<Setter Property="VerticalContentAlignment" Value="Center"/>
6+
</Style>
47
<Style Selector="TextBox.monospace">
58
<Setter Property="FontFamily" Value="SF Mono, Courier New, Courier, monospace" />
69
</Style>

0 commit comments

Comments
 (0)