diff --git a/src/ndv/viewer/_viewer.py b/src/ndv/viewer/_viewer.py index 473f0f5..349aeb0 100644 --- a/src/ndv/viewer/_viewer.py +++ b/src/ndv/viewer/_viewer.py @@ -195,16 +195,18 @@ def __init__( btns.addWidget(self._ndims_btn) btns.addWidget(self._set_range_btn) - info = QHBoxLayout() + info_widget = QWidget() + info = QHBoxLayout(info_widget) info.setContentsMargins(0, 0, 0, 2) info.setSpacing(0) info.addWidget(self._data_info_label) info.addWidget(self._progress_spinner) + info_widget.setFixedHeight(16) layout = QVBoxLayout(self) layout.setSpacing(2) layout.setContentsMargins(6, 6, 6, 6) - layout.addLayout(info) + layout.addWidget(info_widget) layout.addWidget(self._canvas.qwidget(), 1) layout.addWidget(self._hover_info_label) layout.addWidget(self._dims_sliders)