changeset 1446:1ed6d666ec9e single-point

Shrink alignment panes to sensible size on non-hi-dpi screens
author Chris Cannam
date Tue, 30 Apr 2019 14:02:32 +0100
parents ad86aa712d11
children 8afea53332f3
files view/PaneStack.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/view/PaneStack.cpp	Tue Apr 30 14:02:03 2019 +0100
+++ b/view/PaneStack.cpp	Tue Apr 30 14:02:32 2019 +0100
@@ -125,7 +125,7 @@
     layout->setColumnStretch(1, 20);
 
     AlignmentView *av = new AlignmentView(frame);
-    av->setFixedHeight(40);//!!!
+    av->setFixedHeight(ViewManager::scalePixelSize(20));
     av->setViewManager(m_viewManager);
     av->setVisible(false); // for now
     layout->addWidget(av, 2, 1);