if (m_stopButton->isVisible() || m_progressTextLabel->isVisible() || m_progressBar->isVisible()) {
// Use maximum width when interactable elements are shown, to keep them
// from "jumping around" when user tries to interact with them.
setFixedWidth(maximumViewWidth);
} else {
if (m_stopButton->isVisible() || m_progressTextLabel->isVisible() || m_progressBar->isVisible()) {
// Use maximum width when interactable elements are shown, to keep them
// from "jumping around" when user tries to interact with them.
setFixedWidth(maximumViewWidth);
} else {