[longomatch] Add more space at the end in the timelines



commit 34d4d231d023fd1ae622fdfd320acbbb7cd992b6
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Jun 19 12:31:52 2014 +0200

    Add more space at the end in the timelines

 LongoMatch.Drawing/Widgets/PlaysTimeline.cs  |    4 ++--
 LongoMatch.Drawing/Widgets/TimersTimeline.cs |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch.Drawing/Widgets/PlaysTimeline.cs b/LongoMatch.Drawing/Widgets/PlaysTimeline.cs
index f8d961a..c403501 100644
--- a/LongoMatch.Drawing/Widgets/PlaysTimeline.cs
+++ b/LongoMatch.Drawing/Widgets/PlaysTimeline.cs
@@ -89,9 +89,9 @@ namespace LongoMatch.Drawing.Widgets
                
                void Update () {
                        double width = duration.Seconds / SecondsPerPixel;
-                       widget.Width = width;
+                       widget.Width = width + 10;
                        foreach (TimelineObject tl in categories.Values) {
-                               tl.Width = width;
+                               tl.Width = width + 10;
                                tl.SecondsPerPixel = SecondsPerPixel;
                        }
                }
diff --git a/LongoMatch.Drawing/Widgets/TimersTimeline.cs b/LongoMatch.Drawing/Widgets/TimersTimeline.cs
index 14122bd..4a4f688 100644
--- a/LongoMatch.Drawing/Widgets/TimersTimeline.cs
+++ b/LongoMatch.Drawing/Widgets/TimersTimeline.cs
@@ -54,9 +54,9 @@ namespace LongoMatch.Drawing.Widgets
                
                void Update () {
                        double width = duration.Seconds / SecondsPerPixel;
-                       widget.Width = width;
+                       widget.Width = width + 10;
                        foreach (TimelineObject tl in timers.Values) {
-                               tl.Width = width;
+                               tl.Width = width + 10;
                                tl.SecondsPerPixel = SecondsPerPixel;
                        }
                }


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