Permalink
Browse files

Increase default image sizes on Dashboard & fix Missing Eps Padding

  • Loading branch information...
ElementalCrisis committed Jul 3, 2018
1 parent 146110b commit 042d832981e16bee084d79f7bafd45f23c62272d
Showing with 12 additions and 12 deletions.
  1. +10 −10 Shoko.Desktop/AppSettings.cs
  2. +2 −2 Shoko.Desktop/UserControls/DashboardControl.xaml
@@ -510,7 +510,7 @@ public static int DisplayHeight_DashImage
get
{
string val = Get("DisplayHeight_DashImage");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 30)
return 30;

@@ -979,7 +979,7 @@ public static int Dash_WatchNext_Height
get
{
string val = Get("Dash_WatchNext_Height");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 30)
return 30;

@@ -997,7 +997,7 @@ public static int Dash_RecentAdditions_Height
get
{
string val = Get("Dash_RecentAdditions_Height");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 30)
return 30;

@@ -1041,7 +1041,7 @@ public static int Dash_RecentlyWatchedEp_Height
get
{
string val = Get("Dash_RecentlyWatchedEp_Height");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 30)
return 30;

@@ -1074,7 +1074,7 @@ public static int Dash_MissingEps_Height
get
{
string val = Get("Dash_MissingEps_Height");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 30)
return 30;

@@ -1119,7 +1119,7 @@ public static int Dash_MiniCalendar_Height
get
{
string val = Get("Dash_MiniCalendar_Height");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 30)
return 30;

@@ -1137,7 +1137,7 @@ public static int Dash_RecWatch_Height
get
{
string val = Get("Dash_RecWatch_Height");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 30)
return 30;

@@ -1169,7 +1169,7 @@ public static int Dash_RecDownload_Height
get
{
string val = Get("Dash_RecDownload_Height");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 30)
return 30;

@@ -1201,7 +1201,7 @@ public static int Dash_TraktFriends_Height
get
{
string val = Get("Dash_TraktFriends_Height");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 30)
return 30;

@@ -1255,7 +1255,7 @@ public static int SeriesGroup_Image_Height
get
{
string val = Get("SeriesGroup_Image_Height");
if (!int.TryParse(val, out var ival)) return 150; // default value
if (!int.TryParse(val, out var ival)) return 200; // default value
if (ival < 80)
return 80;

@@ -277,10 +277,10 @@
<TextBlock Text="{Resx ResxName=Shoko.Commons.Properties.Resources, Key=LatestEp_Anime}" Foreground="Black"
VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="1" Grid.Row="0"/>
<TextBlock Text="{Binding Path=AniDBAnime.AniDBAnime.LatestEpisodeNumber}" Foreground="Black" FontWeight="Bold"
VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Column="2" Grid.Row="0" Margin="8,0,0,0"/>
VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Column="2" Grid.Row="0" Margin="16,0,0,0"/>
<TextBlock Text="{Resx ResxName=Shoko.Commons.Properties.Resources, Key=MissingEpisodeCount}" Foreground="Black"
VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="1" Grid.Row="1"/>
<TextBlock Text="{Binding Path=MissingEpisodeCountGroups}" Foreground="Black" FontWeight="Bold" Margin="8,0,0,0"
<TextBlock Text="{Binding Path=MissingEpisodeCountGroups}" Foreground="Black" FontWeight="Bold" Margin="16,0,0,0"
VerticalAlignment="Center" HorizontalAlignment="Right" Grid.Column="2" Grid.Row="1"/>
</Grid>
</StackPanel>

0 comments on commit 042d832

Please sign in to comment.