[pitivi] layer: Remove initial height_request
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] layer: Remove initial height_request
- Date: Wed, 9 Nov 2016 13:14:23 +0000 (UTC)
commit 85e4019fa23816d759176730df807dc85610798d
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Tue Nov 1 12:03:46 2016 +0100
layer: Remove initial height_request
The height_request should be set only by checkMediaTypes.
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1434
pitivi/timeline/layer.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/timeline/layer.py b/pitivi/timeline/layer.py
index e9d8686..75a0f22 100644
--- a/pitivi/timeline/layer.py
+++ b/pitivi/timeline/layer.py
@@ -59,8 +59,6 @@ class LayerControls(Gtk.EventBox, Loggable):
self.ges_timeline = self.ges_layer.get_timeline()
self.app = app
- # Half the height because we display only the video strip when empty.
- self.props.height_request = LAYER_HEIGHT / 2
self.props.hexpand = True
self.props.valign = Gtk.Align.FILL
@@ -249,8 +247,6 @@ class Layer(Gtk.Layout, Zoomable, Loggable):
# The layer is always the width of the Timeline which contains it.
self.props.hexpand = True
- # FIXME Make the layer height user setable with 'Paned'
- self.props.height_request = LAYER_HEIGHT / 2
self.props.valign = Gtk.Align.START
self.media_types = GES.TrackType(0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]