[longomatch] Add a slight border around camera labels.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add a slight border around camera labels.
- Date: Wed, 18 Mar 2015 14:40:21 +0000 (UTC)
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]