Skip to content

Commit 09f6150

Browse files
committed
修复 搜索框显示错误
1 parent f560a37 commit 09f6150

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

KitopiaAvalonia/Windows/SearchWindow.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<Panel.Background>
4747
<SolidColorBrush Color="{DynamicResource SemiBackground0Color}" Opacity="0.55" />
4848
</Panel.Background>
49-
<Grid RowDefinitions="Auto,Auto" VerticalAlignment="Stretch">
49+
<Grid RowDefinitions="Auto,*" VerticalAlignment="Stretch">
5050
<Border Theme="{DynamicResource KitopiaCard}" CornerRadius="0" Padding="12,8">
5151
<StackPanel Spacing="8">
5252
<Border Height="30">

KitopiaAvalonia/Windows/SearchWindow.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
8383

8484
private void w_Deactivated(object? sender, EventArgs eventArgs)
8585
{
86-
//IsVisible = false;
86+
IsVisible = false;
8787
}
8888

8989

0 commit comments

Comments
 (0)