[pitivi: 2/16] Make the zoom slider a reasonable minimum width



commit 1c20045ad836e3d1e430095b1669e8f29de70b2a
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Wed Dec 1 13:13:10 2010 -0500

    Make the zoom slider a reasonable minimum width

 pitivi/ui/timeline.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index 34be026..7b6baf4 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -249,6 +249,7 @@ class Timeline(gtk.Table, Loggable, Zoomable):
         zoomslider.props.draw_value = False
         zoomslider.set_tooltip_text(_("Zoom Timeline"))
         zoomslider.connect("scroll-event", self._zoomSliderScrollCb)
+        zoomslider.set_size_request(100, 0) # At least 100px wide for precision
         zoom_controls_hbox.pack_start(zoomslider)
         self.attach(zoom_controls_hbox, 0, 1, 0, 1, yoptions=0, xoptions=gtk.FILL)
 



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