diff options
author | Hannah von Reth <vonreth@kde.org> | 2022-05-06 12:45:17 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-05-06 17:32:08 +0300 |
commit | 7d21f0ed9daf0a5ff22ad1c035c63f379c6a23ae (patch) | |
tree | b09e66f2d1950a660c9f735c7d4fdd81bd726681 /src/gui/newwizard | |
parent | 6a03490884344b23f1b6358bab73448855bc016f (diff) |
Center the transistion spinner
Diffstat (limited to 'src/gui/newwizard')
-rw-r--r-- | src/gui/newwizard/setupwizardwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/newwizard/setupwizardwindow.ui | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/gui/newwizard/setupwizardwindow.cpp b/src/gui/newwizard/setupwizardwindow.cpp index a07f2519a..fec3311a3 100644 --- a/src/gui/newwizard/setupwizardwindow.cpp +++ b/src/gui/newwizard/setupwizardwindow.cpp @@ -134,7 +134,7 @@ void SetupWizardWindow::slotStartTransition() _transitioning = true; _ui->transitionProgressIndicator->startAnimation(); - _ui->contentWidget->setCurrentWidget(_ui->transitionProgressIndicator); + _ui->contentWidget->setCurrentWidget(_ui->transitionPage); // until a new page is displayed by the controller, we want to prevent the user from initiating another page change _ui->backButton->setEnabled(false); diff --git a/src/gui/newwizard/setupwizardwindow.ui b/src/gui/newwizard/setupwizardwindow.ui index 032506fee..84d24f03d 100644 --- a/src/gui/newwizard/setupwizardwindow.ui +++ b/src/gui/newwizard/setupwizardwindow.ui @@ -31,7 +31,18 @@ </property> <item> <widget class="QStackedWidget" name="contentWidget"> - <widget class="QProgressIndicator" name="transitionProgressIndicator"/> + <widget class="QWidget" name="transitionPage"> + <widget class="QProgressIndicator" name="transitionProgressIndicator" native="true"> + <property name="geometry"> + <rect> + <x>320</x> + <y>280</y> + <width>120</width> + <height>80</height> + </rect> + </property> + </widget> + </widget> </widget> </item> <item> |