Skip to content

Commit 98e94dd

Browse files
committed
Simplify component sizes
1 parent 8781ff9 commit 98e94dd

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/ert/gui/simulation/run_dialog.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ def __init__(
193193
self._notifier = notifier
194194
self.fail_msg_box: Optional[ErtMessageBox] = None
195195

196-
self._minimum_width = 1200
197-
self._minimum_height = 600
198-
199196
self._ticker = QTimer(self)
200197
self._ticker.timeout.connect(self._on_ticker)
201198

@@ -240,8 +237,7 @@ def __init__(
240237
spin_movie.start()
241238

242239
self.processing_animation = QLabel()
243-
self.processing_animation.setMaximumSize(QSize(size, size))
244-
self.processing_animation.setMinimumSize(QSize(size, size))
240+
self.processing_animation.setFixedSize(QSize(size, size))
245241
self.processing_animation.setMovie(spin_movie)
246242

247243
button_layout = QHBoxLayout()
@@ -292,7 +288,7 @@ def __init__(
292288
self.restart_button.clicked.connect(self.restart_failed_realizations)
293289
self.simulation_done.connect(self._on_simulation_done)
294290

295-
self.setMinimumSize(self._minimum_width, self._minimum_height)
291+
self.setMinimumSize(1200, 600)
296292
self.finished.connect(self._on_finished)
297293

298294
self._restart = False

0 commit comments

Comments
 (0)