diff view/Pane.cpp @ 173:9c40dc10c88c

* Rename the existing Panner to Overview (big duh!) * Fixes to the new Panner.
author Chris Cannam
date Thu, 19 Oct 2006 09:57:27 +0000
parents d0b95a8cac96
children 96b8a790730a
line wrap: on
line diff
--- a/view/Pane.cpp	Wed Oct 18 16:38:30 2006 +0000
+++ b/view/Pane.cpp	Thu Oct 19 09:57:27 2006 +0000
@@ -85,7 +85,7 @@
         m_headsUpDisplay->setLayout(layout);
         
         m_hthumb = new Thumbwheel(Qt::Horizontal);
-        layout->addWidget(m_hthumb, 1, 0, 2, 1);
+        layout->addWidget(m_hthumb, 1, 0, 1, 2);
         m_hthumb->setFixedWidth(70);
         m_hthumb->setFixedHeight(16);
         m_hthumb->setDefaultValue(0);
@@ -95,8 +95,9 @@
 
         m_vpan = new Panner;
         layout->addWidget(m_vpan, 0, 1);
-        m_vpan->setFixedWidth(16);
+        m_vpan->setFixedWidth(12);
         m_vpan->setFixedHeight(70);
+//        m_vpan->setRectExtents(0.1, 0.1, 0.4, 0.4);
 
         m_vthumb = new Thumbwheel(Qt::Vertical);
         layout->addWidget(m_vthumb, 0, 2);
@@ -559,7 +560,7 @@
 
         if (m_manager->getZoomWheelsEnabled()) {
             lly -= 20;
-            llx -= 20;
+            llx -= 36;
         }
 
 	if (r.x() + r.width() >= llx) {