- tweak: prettify

This commit is contained in:
2025-01-23 20:43:52 +03:00
parent 019dd13d8e
commit 1374772d46
7 changed files with 124 additions and 81 deletions

View File

@@ -18,15 +18,13 @@
<Border
Background="Transparent"
BorderThickness="3,1,0,1"
BorderBrush="{StaticResource DefaultForeground}"
BoxShadow="-2 0 18 -1 #121212"
CornerRadius="10"
Margin="5">
<Grid ColumnDefinitions="*,80,50" RowDefinitions="35,*,*">
<Border
BorderBrush="{StaticResource DefaultForeground}"
Background="#00000000"
BorderThickness="0,0,0,2"
Background="Transparent"
BoxShadow="0 3 3 -1 #121212"
CornerRadius="10"
Grid.Column="0"
Grid.ColumnSpan="2"
@@ -38,7 +36,8 @@
Command="{Binding ExpandInfoRequired}"
Grid.Column="0"
Grid.Row="0"
VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<ScrollViewer
HorizontalScrollBarVisibility="Hidden"
Margin="10,0,0,0"
@@ -49,7 +48,7 @@
</Label>
</ScrollViewer>
</Button>
<StackPanel
Grid.Column="1"
Grid.Row="0"
@@ -88,25 +87,27 @@
</Button>
</Grid>
</Panel>
<Label FontSize="12" Grid.Column="0" HorizontalAlignment="Left"
Grid.ColumnSpan="2"
Grid.Row="1"
IsVisible="{Binding ExpandInfo}"
Margin="15">
<TextBlock Text="{Binding Description}" TextWrapping="Wrap" />
</Label>
<Border
BorderBrush="{StaticResource DefaultForeground}"
Background="Transparent"
BorderThickness="0,2,0,0"
CornerRadius="10"
<Label
FontSize="12"
Grid.Column="0"
Grid.ColumnSpan="2"
Grid.Row="1"
HorizontalAlignment="Left"
IsVisible="{Binding ExpandInfo}"
Margin="15">
<TextBlock Text="{Binding Description}" TextWrapping="Wrap" />
</Label>
<Border
Background="Transparent"
BoxShadow="0 -3 3 -1 #121212"
CornerRadius="10"
Grid.Column="0"
Grid.ColumnSpan="3"
Grid.Row="2"
IsVisible="{Binding ExpandInfo}"
Margin="5,15,15,5">
Margin="5">
<StackPanel Margin="5" Spacing="5">
<StackPanel Orientation="Horizontal">
<Label FontSize="10" VerticalAlignment="Center">Tags:</Label>
@@ -115,8 +116,8 @@
<DataTemplate DataType="{x:Type system:String}">
<Border
Background="{StaticResource DefaultForeground}"
CornerRadius="8"
BorderThickness="0"
CornerRadius="8"
HorizontalAlignment="Center"
Margin="1,1,1,1"
VerticalAlignment="Center">
@@ -128,21 +129,23 @@
</ItemsControl.ItemTemplate>
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Margin="5"
<StackPanel
HorizontalAlignment="Left"
Margin="5"
Orientation="Horizontal"
VerticalAlignment="Center" Spacing="8"/>
Spacing="8"
VerticalAlignment="Center" />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl>
</StackPanel>
<StackPanel Orientation="Horizontal" >
<StackPanel Orientation="Horizontal">
<Label FontSize="10" VerticalAlignment="Center">Map:</Label>
<Border
<Border
Background="{StaticResource DefaultForeground}"
CornerRadius="8"
BorderThickness="0"
CornerRadius="8"
HorizontalAlignment="Center"
Margin="5"
VerticalAlignment="Center">
@@ -156,8 +159,8 @@
<Label FontSize="10" VerticalAlignment="Center">Preset:</Label>
<Border
Background="{StaticResource DefaultForeground}"
CornerRadius="8"
BorderThickness="0"
CornerRadius="8"
HorizontalAlignment="Center"
Margin="5"
VerticalAlignment="Center">