[longomatch] Give a bit more margin above text.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Give a bit more margin above text.
- Date: Wed, 18 Mar 2015 14:40:46 +0000 (UTC)
commit 93f78c6b6d458a4584778bc58db1c7fec4852821
Author: Julien Moutte <julien fluendo com>
Date: Thu Mar 12 15:42:18 2015 +0100
Give a bit more margin above text.
LongoMatch.Drawing/Widgets/Timerule.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Drawing/Widgets/Timerule.cs b/LongoMatch.Drawing/Widgets/Timerule.cs
index d546e0d..58c0db2 100644
--- a/LongoMatch.Drawing/Widgets/Timerule.cs
+++ b/LongoMatch.Drawing/Widgets/Timerule.cs
@@ -144,7 +144,7 @@ namespace LongoMatch.Drawing.Widgets
double pos = i - Scroll;
tk.DrawLine (new Point (pos, height),
new Point (pos, height - BIG_LINE_HEIGHT));
- tk.DrawText (new Point (pos - TEXT_WIDTH / 2, 0), TEXT_WIDTH, height -
BIG_LINE_HEIGHT - 4,
+ tk.DrawText (new Point (pos - TEXT_WIDTH / 2, 2), TEXT_WIDTH, height -
BIG_LINE_HEIGHT - 2,
new Time { TotalSeconds = (int) (i * SecondsPerPixel)
}.ToSecondsString ());
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]