[pitivi] timeline: Remove the minimum height of the TimelineContainer
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Remove the minimum height of the TimelineContainer
- Date: Wed, 9 Nov 2016 13:33:27 +0000 (UTC)
commit f1a746f4400e12aac0a41a74c94e863e97d7c559
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Wed Nov 2 14:59:05 2016 +0100
timeline: Remove the minimum height of the TimelineContainer
It's enough that the Timeline has a minimum height, see
Timeline.do_get_preferred_height.
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1440
pitivi/timeline/timeline.py | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index eb0e3ba..be63d34 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -1436,11 +1436,6 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable):
self.attach(self.timeline, 0, 1, 2, 1)
self.attach(self.toolbar, 3, 1, 1, 1)
- min_height = (self.ruler.get_size_request()[1] +
- (EXPANDED_SIZE + SPACING) * 2 +
- # Some more.
- EXPANDED_SIZE)
- self.set_size_request(-1, min_height)
self.set_margin_top(SPACING)
self.show_all()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]