diff view/PaneStack.cpp @ 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 8e6a24110996
children 8afea53332f3
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);