diff --git a/viewer/JFJochViewerDatasetInfo.cpp b/viewer/JFJochViewerDatasetInfo.cpp index cfb960d2..4adbda9a 100644 --- a/viewer/JFJochViewerDatasetInfo.cpp +++ b/viewer/JFJochViewerDatasetInfo.cpp @@ -42,7 +42,7 @@ JFJochViewerDatasetInfo::JFJochViewerDatasetInfo(QWidget *parent) : QWidget(pare stack = new QStackedWidget(this); chart_view = new JFJochDatasetInfoChartView(this); - chart_view->setMinimumHeight(200); // keep the plot readable even when the dock is small + chart_view->setMinimumHeight(80); // low floor so the bottom dock resizes freely (default is set via resizeDocks) grid_scan_image = new JFJochGridScanImage(this); stack->addWidget(chart_view); diff --git a/viewer/windows/JFJochProcessingJobsWindow.cpp b/viewer/windows/JFJochProcessingJobsWindow.cpp index b38e1a80..ca6dcb72 100644 --- a/viewer/windows/JFJochProcessingJobsWindow.cpp +++ b/viewer/windows/JFJochProcessingJobsWindow.cpp @@ -57,6 +57,7 @@ JFJochProcessingJobsWindow::JFJochProcessingJobsWindow(JFJochImageReadingWorker toolbar_->addAction("Show original", this, &JFJochProcessingJobsWindow::showOriginal); table_ = new QTableWidget(0, COL_COUNT, this); + table_->setMinimumHeight(60); // let the bottom dock shrink freely table_->setHorizontalHeaderLabels({"Name", "Started", "Mode", "Images", "Status", "Index %", "Unit cell"}); table_->horizontalHeader()->setStretchLastSection(true); table_->setSelectionBehavior(QAbstractItemView::SelectRows);