Add Rectangle to MainWindow for background color

This commit is contained in:
Caeden Statia 2020-01-31 20:13:08 -08:00
parent 4382f22fdc
commit 637cf096fd
3 changed files with 90 additions and 87 deletions

View file

@ -288,8 +288,8 @@
</Setter>
</Style>
<Style TargetType="Grid" x:Key="GridBase">
<Setter Property="Background" Value="{DynamicResource ModAssistantBackground}"/>
<Style TargetType="Rectangle">
<Setter Property="Fill" Value="{DynamicResource ModAssistantBackground}"/>
</Style>
</ResourceDictionary>

View file

@ -8,6 +8,8 @@
Icon="Resources/icon.ico"
Title="Mod Assistant" Width="1280" Height="720"
UIElement.PreviewMouseDown="Window_PreviewMouseDown">
<Grid>
<Rectangle/>
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
@ -99,4 +101,5 @@
</Button>
</Grid>
</Grid>
</Grid>
</Window>

View file

@ -48,6 +48,6 @@
<SolidColorBrush x:Key="CheckboxTickColor" Color="White"/>
<SolidColorBrush x:Key="CheckboxPressedBackground" Color="#FFBFBFBF"/>
<SolidColorBrush x:Key="ModAssistantBackground" Color="#1a1a1a"/>
<SolidColorBrush x:Key="ModAssistantBackground" Color="#0f0f0f"/>
</ResourceDictionary>