[pitivi] elements: Consistent vertical placement of audio elements



commit 73ffc242949c9394b386de2a01cc31ca71ec16a6
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Mon Nov 7 01:13:15 2016 +0100

    elements: Consistent vertical placement of audio elements
    
    When a clip has both audio and video, there was a 2px space between
    them, which meant the bottom 2px of the audio were hidden. There is no
    space if the clip is ungrouped into two separate clips.
    
    Reviewed-by: Thibault Saunier <tsaunier gnome org>
    Differential Revision: https://phabricator.freedesktop.org/D1450

 pitivi/timeline/elements.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index ab1e218..7a82a4b 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -973,7 +973,7 @@ class Clip(Gtk.EventBox, Zoomable, Loggable):
         overlay = Gtk.Overlay()
         self.add(overlay)
 
-        self._elements_container = Gtk.Box.new(Gtk.Orientation.VERTICAL, 2)
+        self._elements_container = Gtk.Box.new(Gtk.Orientation.VERTICAL, 0)
         overlay.add_overlay(self._elements_container)
 
         self.leftHandle = TrimHandle(self, GES.Edge.EDGE_START)


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