Browse Source

Added a gradient to the splash screen background

LukePulverenti Luke Pulverenti luke pulverenti 12 years ago
parent
commit
d032a49c3c
1 changed files with 7 additions and 3 deletions
  1. 7 3
      MediaBrowser.Common/UI/Splash.xaml

+ 7 - 3
MediaBrowser.Common/UI/Splash.xaml

@@ -8,9 +8,13 @@
         ShowInTaskbar="True" 
         ResizeMode="NoResize" 
         WindowStartupLocation="CenterScreen"
-        WindowState="Normal" 
-        Background="Black">
-    
+        WindowState="Normal">
+    <Window.Background>
+        <RadialGradientBrush>
+            <GradientStop Color="Black" Offset="1"/>
+            <GradientStop Color="#333333"/>
+        </RadialGradientBrush>
+    </Window.Background>
     <Grid Name="splashGrid">
         <Image HorizontalAlignment="Left" VerticalAlignment="Top" Height="225" Source="/MediaBrowser.Common;component/Resources/mblogo1000.png" Stretch="Fill" Grid.Row="0"/>
         <ProgressBar Name="pbProgress" Minimum="0" Maximum="100" HorizontalAlignment="Left" Height="24" Margin="30,150,30,0" Width="540" Grid.Row="1"/>