Skip to content

Commit

Permalink
wtf it crash
Browse files Browse the repository at this point in the history
  • Loading branch information
shoushou1106 committed Mar 2, 2024
1 parent a65c0a0 commit 1a0a23a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Windows/FindinFilesWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
xmlns:core="clr-namespace:Frosty.Core.Controls;assembly=FrostyCore"
xmlns:ctrl="clr-namespace:Frosty.Controls;assembly=FrostyControls"
mc:Ignorable="d"
Title="Find in Files" Height="450" MinHeight="450" Width="450"
SizeToContent="Height"
Title="Find in Files" Height="450" Width="450"
x:Name="FindinFilesWindows">

<Window.Resources>
Expand All @@ -21,6 +20,7 @@

<Grid Background="{StaticResource ListBackground}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="38"/>
</Grid.RowDefinitions>
Expand Down Expand Up @@ -68,20 +68,20 @@
</DockPanel>
</WrapPanel>
</DockPanel>

<!-- Result list -->
<core:FrostyAssetListView x:Name="ResultAssetListView" Grid.Row="1" Margin="0 0 3 0" BorderThickness="1" BorderBrush="{StaticResource WindowBackground}" >
<core:FrostyAssetListView.AssetContextMenu>
<ContextMenu>
<MenuItem x:Name="ResultAssetListOpenItem" Header="Open asset" Click="ResultAssetListOpenItem_Click"/>
<MenuItem x:Name="ResultAssetListFindItem" Header="Find in data explorer" Click="ResultAssetListFindItem_Click"/>
</ContextMenu>
</core:FrostyAssetListView.AssetContextMenu>
</core:FrostyAssetListView>
</StackPanel>

<!-- Result list -->
<core:FrostyAssetListView x:Name="ResultAssetListView" Grid.Row="1" Margin="0 0 3 0" BorderThickness="1" BorderBrush="{StaticResource WindowBackground}" >
<core:FrostyAssetListView.AssetContextMenu>
<ContextMenu>
<MenuItem x:Name="ResultAssetListOpenItem" Header="Open asset" Click="ResultAssetListOpenItem_Click"/>
<MenuItem x:Name="ResultAssetListFindItem" Header="Find in data explorer" Click="ResultAssetListFindItem_Click"/>
</ContextMenu>
</core:FrostyAssetListView.AssetContextMenu>
</core:FrostyAssetListView>

<!-- Bottom bar -->
<DockPanel Grid.Row="1" LastChildFill="False" Background="{StaticResource WindowBackground}">
<DockPanel Grid.Row="2" LastChildFill="False" Background="{StaticResource WindowBackground}">
<Button x:Name="FindAllButton" DockPanel.Dock="Right" Margin="5, 8, 8, 8" Width="60" Content="Find All" Click="FindAllButton_Click"/>
<Button x:Name="FindNextButton" DockPanel.Dock="Right" Margin="5, 8, 5, 8" Width="65" Content="Find Next" Click="FindNextButton_Click"/>
<Button x:Name="ExportButton" DockPanel.Dock="Right" Margin="5, 8, 5, 8" Width="80" Content="Export to file" Click="ExportButton_Click"/>
Expand Down

0 comments on commit 1a0a23a

Please sign in to comment.