fix(ui): use the Semi TextArea class for multiline editor inputs

This commit is contained in:
yyc12345 committed 2026-10-05 13:33:19 +08:00
1 parent c2b744e742
commit 61d3a0c03c
3 files changed
+3 -6

No files matched your search

+1 -2
View File
@@ -22,8 +22,7 @@
<TextBox Text="{Binding Title}"/>
<TextBlock Text="{x:Static lang:Resources.CardDialog_Content}" Margin="0,6,0,0"/>
<TextBox Text="{Binding Content}" AcceptsReturn="True" TextWrapping="Wrap"
VerticalContentAlignment="Top" Height="160"/>
<TextBox Text="{Binding Content}" Classes="TextArea" Height="160"/>
<TextBlock Text="{x:Static lang:Resources.CardDialog_Tags}" Margin="0,6,0,0"/>
<ItemsControl ItemsSource="{Binding AssignedTags}">
@@ -19,8 +19,7 @@
<TextBox Text="{Binding Title}"/>
<TextBlock Text="{x:Static lang:Resources.ColumnDialog_Description}" Margin="0,6,0,0"/>
<TextBox Text="{Binding Description}" AcceptsReturn="True" TextWrapping="Wrap"
VerticalContentAlignment="Top" Height="80"/>
<TextBox Text="{Binding Description}" Classes="TextArea"/>
<TextBlock Text="{Binding ErrorMessage}"
IsVisible="{Binding ErrorMessage, Converter={x:Static conv:ObjectConverters.IsNotNull}}"
+1 -2
View File
@@ -22,8 +22,7 @@
<ColorPicker Color="{Binding Color, Mode=TwoWay}" HorizontalAlignment="Left"/>
<TextBlock Text="{x:Static lang:Resources.TagEditor_Description}" Margin="0,6,0,0"/>
<TextBox Text="{Binding Description}" AcceptsReturn="True" TextWrapping="Wrap"
VerticalContentAlignment="Top" Height="70"/>
<TextBox Text="{Binding Description}" Classes="TextArea"/>
<TextBlock Text="{Binding ErrorMessage}"
IsVisible="{Binding ErrorMessage, Converter={x:Static conv:ObjectConverters.IsNotNull}}"