# HG changeset patch # User Chris Cannam # Date 1558361072 -3600 # Node ID 6bd413aff85ca032351e60c9cab578cd27d68571 # Parent e561f0a8d75ba375c347aaf7aae995ef7935b3e7 Fix incorrect visibility of alignment view when not requested; fix current indicator size when x-button is disabled diff -r e561f0a8d75b -r 6bd413aff85c view/PaneStack.cpp --- a/view/PaneStack.cpp Mon May 20 15:04:07 2019 +0100 +++ b/view/PaneStack.cpp Mon May 20 15:04:32 2019 +0100 @@ -132,7 +132,7 @@ ClickableLabel *currentIndicator = new ClickableLabel(frame); connect(currentIndicator, SIGNAL(clicked()), this, SLOT(indicatorClicked())); layout->addWidget(currentIndicator, 2, 0); - layout->setRowStretch(1, 20); + layout->setRowStretch(2, 20); currentIndicator->setMinimumWidth(16); currentIndicator->setMinimumHeight(16); currentIndicator->setScaledContents(true); @@ -223,6 +223,7 @@ PaneStack::relinkAlignmentViews() { if (m_panes.empty()) return; + if (!m_showAlignmentViews) return; m_panes[0].alignmentView->hide(); for (int i = 1; in_range_for(m_panes, i); ++i) { m_panes[i].alignmentView->setViewAbove(m_panes[i-1].pane);