[pitivi] timelinecanvas.py: shift tracks downward to make room for label



commit c88443880cacce848a9dfad291ae4c6f2deeae97
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date:   Mon Jan 25 12:58:26 2010 -0800

    timelinecanvas.py: shift tracks downward to make room for label

 pitivi/ui/timelinecanvas.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/timelinecanvas.py b/pitivi/ui/timelinecanvas.py
index fc110ea..1051fd6 100644
--- a/pitivi/ui/timelinecanvas.py
+++ b/pitivi/ui/timelinecanvas.py
@@ -99,6 +99,7 @@ class TimelineCanvas(goocanvas.Canvas, Zoomable, Loggable):
         self._cursor = ARROW
         root = self.get_root_item()
         self.tracks = goocanvas.Group()
+        self.tracks.set_simple_transform(0, 10, 1.0, 0)
         root.add_child(self.tracks)
         self._marquee = goocanvas.Rect(
             parent=root,
@@ -177,7 +178,7 @@ class TimelineCanvas(goocanvas.Canvas, Zoomable, Loggable):
             event.area.x, event.area.y,
             event.area.width, event.area.height)
 
-        y = 0
+        y = 10
         for track in self._tracks[:-1]:
             y += track.height
             self.style.paint_box(event.window,



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