[longomatch] Add a slight border around camera labels.



commit f12e09dbb0529008d5b1e4d075be9faae971ebef
Author: Julien Moutte <julien fluendo com>
Date:   Thu Mar 12 15:15:55 2015 +0100

    Add a slight border around camera labels.

 LongoMatch.Drawing/CanvasObjects/LabelObject.cs |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObjects/LabelObject.cs b/LongoMatch.Drawing/CanvasObjects/LabelObject.cs
index 9506784..5c9cf89 100644
--- a/LongoMatch.Drawing/CanvasObjects/LabelObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/LabelObject.cs
@@ -173,12 +173,9 @@ namespace LongoMatch.Drawing.CanvasObjects
                        // Draw background
                        tk.Begin ();
                        tk.FillColor = BackgroundColor;
-                       tk.StrokeColor = BackgroundColor;
-                       tk.LineWidth = 0;
-                       tk.DrawRectangle (new Point (0, y), Width, Height);
-                       tk.LineWidth = 1;
                        tk.StrokeColor = Config.Style.PaletteWidgets;
-                       tk.DrawLine (new Point (0, y + Height), new Point (Width, y + Height));
+                       tk.LineWidth = 1;
+                       tk.DrawRectangle (new Point (0, y), Width, Height);
 
                        /* Draw category name */
                        tk.FontSlant = FontSlant.Normal;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]