mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
80 lines
3.1 KiB
XML
80 lines
3.1 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:controls="clr-namespace:Wabbajack.App.Controls"
|
|
xmlns:avalonia="clr-namespace:Material.Icons.Avalonia;assembly=Material.Icons.Avalonia"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="Wabbajack.App.Screens.BrowseView">
|
|
<Grid RowDefinitions="40, *">
|
|
<WrapPanel Grid.Row="0"
|
|
Height="25"
|
|
Margin="5,5,5,10"
|
|
HorizontalAlignment="Right"
|
|
Orientation="Horizontal">
|
|
<Label
|
|
Margin="0,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Content="Game" />
|
|
<ComboBox
|
|
x:Name="GamesList"
|
|
Width="150"
|
|
Margin="0,0,10,0"
|
|
VerticalAlignment="Center">
|
|
<ItemsControl.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<StackPanel Orientation="Vertical" />
|
|
</ItemsPanelTemplate>
|
|
</ItemsControl.ItemsPanel>
|
|
<ItemsControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<controls:GameSelectorItemView />
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ComboBox>
|
|
<TextBlock
|
|
Margin="0,0,5,0"
|
|
VerticalAlignment="Center"
|
|
Text="Search" />
|
|
<TextBox
|
|
x:Name="SearchBox"
|
|
Width="95"
|
|
VerticalContentAlignment="Center" x:FieldModifier="public" />
|
|
<CheckBox
|
|
x:Name="ShowNSFW"
|
|
Margin="10,0,10,0"
|
|
VerticalAlignment="Center"
|
|
Content="Show NSFW" />
|
|
<CheckBox
|
|
x:Name="ShowUtilityLists"
|
|
Margin="10,0,10,0"
|
|
VerticalAlignment="Center"
|
|
Content="Only Utility Lists" />
|
|
<CheckBox
|
|
x:Name="OnlyInstalledCheckbox"
|
|
Margin="10,0,10,0"
|
|
VerticalAlignment="Center"
|
|
Content="Only Installed" />
|
|
<Button
|
|
x:Name="ClearFiltersButton"
|
|
Margin="0,0,10,0">
|
|
<avalonia:MaterialIcon Kind="FilterRemove" />
|
|
</Button>
|
|
</WrapPanel>
|
|
|
|
<ScrollViewer Grid.Row="1">
|
|
<ItemsRepeater x:Name="GalleryList" x:FieldModifier="public">
|
|
<ItemsRepeater.Layout>
|
|
<UniformGridLayout></UniformGridLayout>
|
|
</ItemsRepeater.Layout>
|
|
<ItemsRepeater.ItemTemplate>
|
|
<DataTemplate>
|
|
<controls:BrowseItemView />
|
|
</DataTemplate>
|
|
</ItemsRepeater.ItemTemplate>
|
|
</ItemsRepeater>
|
|
</ScrollViewer>
|
|
|
|
|
|
</Grid>
|
|
</UserControl> |