Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

UI Tweaks

  • Loading branch information...
commit ca9263151dcf284d2f7174b707b1b3a639013cfe 1 parent b52c3f9
@paulcbetts paulcbetts authored
View
2  Play/MainWindow.xaml
@@ -1,6 +1,6 @@
<Window x:Class="Play.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" UseLayoutRounding="True" SnapsToDevicePixels="True"
xmlns:Routing="clr-namespace:ReactiveUI.Routing;assembly=ReactiveUI.Routing" Title="MainWindow" Height="350" Width="525">
<Border Background="{DynamicResource DefaultBackgroundBrush}">
<Routing:RoutedViewHost Router="{Binding Router}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"/>
View
2  Play/Styles.xaml
@@ -9,7 +9,7 @@
<GradientStop Color="#FFE123F1" Offset="0.885"/>
</LinearGradientBrush>
- <SolidColorBrush Color="#FF000000" x:Key="ButtonNormalForeground" />
+ <SolidColorBrush Color="#5E5E5E" x:Key="ButtonNormalForeground" />
<LinearGradientBrush x:Key="HeaderBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFCFD1D1" Offset="0.212"/>
View
2  Play/Views/PlayView.xaml
@@ -69,7 +69,7 @@
</Grid>
</Border>
- <ScrollViewer Grid.Row="1" MinHeight="120" VerticalScrollBarVisibility="Hidden" HorizontalScrollBarVisibility="Hidden" Background="#FFCFD1D1">
+ <ScrollViewer Grid.Row="1" MinHeight="120" VerticalScrollBarVisibility="Hidden" HorizontalScrollBarVisibility="Hidden" Background="#FFF3F3F3">
<ItemsControl ItemsSource="{Binding AllSongs}">
<ItemsControl.ItemTemplate>
<DataTemplate>
View
10 Play/Views/SongTileView.xaml
@@ -6,7 +6,7 @@
mc:Ignorable="d" x:Name="theView"
d:DesignHeight="100" d:DesignWidth="300">
- <Border BorderThickness="0,0.5,0,0.5" BorderBrush="#FFD2D4D8">
+ <Border BorderThickness="0,0,0,1" BorderBrush="LightGray">
<Grid DataContext="{Binding ViewModel, ElementName=theView}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
@@ -20,14 +20,14 @@
<StackPanel.Resources>
<Style TargetType="{x:Type TextBlock}">
<Style.Setters>
- <Setter Property="FontFamily" Value="Segoe UI Light" />
+ <Setter Property="FontFamily" Value="/Play;component/Fonts/#Open Sans Light" />
</Style.Setters>
</Style>
</StackPanel.Resources>
- <TextBlock FontWeight="Bold" Text="{Binding Model.name}" FontFamily="Segoe UI" FontSize="16"/>
- <TextBlock Text="{Binding Model.album}" TextOptions.TextRenderingMode="Grayscale" FontSize="14"/>
- <TextBlock Text="{Binding Model.artist}" TextOptions.TextRenderingMode="Grayscale" FontSize="14"/>
+ <TextBlock FontWeight="Bold" Text="{Binding Model.name}" FontFamily="/Play;component/Fonts/#Open Sans Semibold" FontSize="17"/>
+ <TextBlock Text="{Binding Model.artist}" FontSize="13" />
+ <TextBlock Text="{Binding Model.album}" FontSize="13" Foreground="{DynamicResource ButtonNormalForeground}"/>
</StackPanel>
<StackPanel Orientation="Vertical" Margin="8" Grid.Column="3">
Please sign in to comment.
Something went wrong with that request. Please try again.