Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaclav Vancura <vaclav@vancura.org>2016-02-12 13:20:00 +0300
committerVaclav Vancura <vaclav@vancura.org>2016-02-12 13:20:55 +0300
commit931c405bdffcb08cb449fbfd4916c1faf20200b3 (patch)
treeba78235af2e6781dfaedcfbf8cea58b05dd85768 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.WelcomePage
parentd4f572f3954642d1a009539b1e33109e1b1025b7 (diff)
[Ide] WelcomePage: Linux font fixes
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.WelcomePage')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.WelcomePage/Style.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.WelcomePage/Style.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.WelcomePage/Style.cs
index dff580097a..d2cbd3b799 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.WelcomePage/Style.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.WelcomePage/Style.cs
@@ -1,4 +1,5 @@
using System;
+using MonoDevelop.Core;
namespace MonoDevelop.Ide.WelcomePage
{
@@ -40,18 +41,18 @@ namespace MonoDevelop.Ide.WelcomePage
public const int ShadowSize = 2;
public const int ShadowVerticalOffset = 1;
- public const int LargeTitleFontSize = 22;
+ public static int LargeTitleFontSize = Platform.IsLinux ? 24 : 22;
public static string LargeTitleFontColor { get; internal set; }
public const int LargeTitleMarginBottom = 22;
public static string MediumTitleColor { get; internal set; }
- public const int MediumTitleFontSize = 12;
+ public static int MediumTitleFontSize = Platform.IsLinux ? 13 : 12;
public const int MediumTitleMarginBottom = 7;
public static string SmallTitleColor { get; internal set; }
- public const int SmallTitleFontSize = 10;
+ public static int SmallTitleFontSize = Platform.IsLinux ? 11 : 10;
- public const int SummaryFontSize = 11;
+ public static int SummaryFontSize = Platform.IsLinux ? 12 : 11;
public const string SummaryFontFamily = "Sans";
public const int SummaryLineHeight = 19; // TODO: VV: Seems to be unused
public const int SummaryParagraphMarginTop = 8;