From cff72ed185c8d50bfacdccdfe88ecfb4891950ec Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 11 Mar 2012 21:09:40 +0000 Subject: [PATCH] windows: fix some style issues --- SparkleShare/Windows/SparkleAbout.cs | 2 +- SparkleShare/Windows/SparkleEventLog.cs | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/SparkleShare/Windows/SparkleAbout.cs b/SparkleShare/Windows/SparkleAbout.cs index fd61edae..b61ccbcd 100644 --- a/SparkleShare/Windows/SparkleAbout.cs +++ b/SparkleShare/Windows/SparkleAbout.cs @@ -109,7 +109,7 @@ namespace SparkleShare { this.updates = new Label () { Content = "Checking for updates...", FontSize = 11, - Foreground = new SolidColorBrush (Color.FromRgb (45, 62, 81)) // TODO: color looks off + Foreground = new SolidColorBrush (Color.FromRgb (135, 178, 227)) }; TextBlock credits = new TextBlock () { diff --git a/SparkleShare/Windows/SparkleEventLog.cs b/SparkleShare/Windows/SparkleEventLog.cs index 25a1481d..fa0e166c 100644 --- a/SparkleShare/Windows/SparkleEventLog.cs +++ b/SparkleShare/Windows/SparkleEventLog.cs @@ -89,6 +89,12 @@ namespace SparkleShare { Height = 1, Fill = new SolidColorBrush (Color.FromRgb (223, 223, 223)) }; + + Shapes.Rectangle background = new Shapes.Rectangle () { + Width = Width, + Height = Height, + Fill = new SolidColorBrush (Color.FromRgb (250, 250, 250)) + }; this.web_browser = new WebBrowser () { Width = Width - 7, @@ -121,6 +127,10 @@ namespace SparkleShare { Canvas.SetLeft (this.history_label_value, 130 + history_label_rect.Width); Canvas.SetTop (this.history_label_value, 4); + this.canvas.Children.Add (background); + Canvas.SetLeft (background, 0); + Canvas.SetTop (background, 36); + this.canvas.Children.Add (line); Canvas.SetLeft (line, 0); Canvas.SetTop (line, 35); @@ -239,9 +249,9 @@ namespace SparkleShare { pixmaps_path = pixmaps_path.Replace ("\\", "/"); html = html.Replace ("", "sans-serif"); - html = html.Replace ("", "13.6px"); - html = html.Replace ("", "13.4px"); + html = html.Replace ("", "'Segoe UI', sans-serif"); + html = html.Replace ("", "13px"); + html = html.Replace ("", "12px"); html = html.Replace ("", "#bbb"); html = html.Replace ("", "#ddd"); html = html.Replace ("", "#f5f5f5");