[longomatch] Show node name in upper half, use config style for font size.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Show node name in upper half, use config style for font size.
- Date: Wed, 18 Mar 2015 14:40:36 +0000 (UTC)
commit 668323db837ad6c88e37496bf9690ec0618e6c00
Author: Julien Moutte <julien fluendo com>
Date: Thu Mar 12 15:41:33 2015 +0100
Show node name in upper half, use config style for font size.
LongoMatch.Drawing/CanvasObjects/TimeNodeObject.cs | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObjects/TimeNodeObject.cs
b/LongoMatch.Drawing/CanvasObjects/TimeNodeObject.cs
index 6f67805..fd0b162 100644
--- a/LongoMatch.Drawing/CanvasObjects/TimeNodeObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/TimeNodeObject.cs
@@ -241,13 +241,11 @@ namespace LongoMatch.Drawing.CanvasObjects
if (ShowName) {
- tk.FontSize = 16;
+ tk.FontSize = StyleConf.TimelineFontSize;
tk.FontWeight = FontWeight.Bold;
tk.FillColor = Config.Style.PaletteActive;
tk.StrokeColor = Config.Style.PaletteActive;
- tk.DrawText (new Point (StartX, OffsetY), StopX - StartX,
- Height - StyleConf.TimelineLineSize,
- TimeNode.Name);
+ tk.DrawText (new Point (StartX, OffsetY), StopX - StartX, Height / 2,
TimeNode.Name);
}
tk.End ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]