Fix main menu coloring

This commit is contained in:
Timothy Baldridge 2022-03-13 21:48:24 -06:00
parent 91462dbd20
commit e4e634a1fd
2 changed files with 25 additions and 11 deletions

View File

@ -8,7 +8,8 @@
xmlns:mahapps="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro" xmlns:mahapps="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:viewModels="clr-namespace:Wabbajack.View_Models" xmlns:viewModels="clr-namespace:Wabbajack.View_Models"
Title="Wabbajack" ShowTitleBar="False"
Title="WABBAJACK"
Width="1280" Width="1280"
Height="960" Height="960"
MinWidth="850" MinWidth="850"
@ -22,11 +23,23 @@
WindowTitleBrush="{StaticResource MahApps.Brushes.Accent}" WindowTitleBrush="{StaticResource MahApps.Brushes.Accent}"
mc:Ignorable="d"> mc:Ignorable="d">
<Grid Background="#121212" MouseDown="UIElement_OnMouseDown"> <Grid Background="#121212" MouseDown="UIElement_OnMouseDown">
<TabControl x:Name="Tabs"> <Grid.RowDefinitions>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Rectangle Grid.Row="0">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Offset="0" Color="#16BB86FC" />
<GradientStop Offset="0.4" Color="#00000000" />
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<TabControl Grid.Row="0" x:Name="Tabs">
<TabItem> <TabItem>
<TabItem.Header> <TabItem.Header>
<TextBlock FontSize="16" Margin="0, 0, 8, 0">WABBAJACK 3.0.0</TextBlock> <TextBlock FontSize="16" Margin="0, 0, 8, 0">WABBAJACK 3.0.0</TextBlock>
</TabItem.Header> </TabItem.Header>
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition>

View File

@ -17,6 +17,14 @@
<RowDefinition Height="1*" /> <RowDefinition Height="1*" />
<RowDefinition Height="15" /> <RowDefinition Height="15" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Rectangle Grid.Row="0" Grid.RowSpan="3">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Offset="0" Color="#121212" />
<GradientStop Offset="1" Color="#121212" />
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Viewbox Grid.Row="0" Grid.RowSpan="3" <Viewbox Grid.Row="0" Grid.RowSpan="3"
Name="Banner" Name="Banner"
HorizontalAlignment="Center" HorizontalAlignment="Center"
@ -24,14 +32,7 @@
Stretch="UniformToFill"> Stretch="UniformToFill">
<Image Margin="40,20,40,240" Source="../Resources/Wabba_Mouth.png" /> <Image Margin="40,20,40,240" Source="../Resources/Wabba_Mouth.png" />
</Viewbox> </Viewbox>
<Rectangle Grid.Row="0" Grid.RowSpan="3">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Offset="0" Color="#16BB86FC" />
<GradientStop Offset="0.4" Color="#00000000" />
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Grid Grid.Row="1" Margin="5,15"> <Grid Grid.Row="1" Margin="5,15">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="*" /> <ColumnDefinition Width="*" />