SetupWizard: positionning fix

This commit is contained in:
ItsLemmy
2025-11-07 08:42:07 -05:00
parent 8d1047cc62
commit 5fa8cabbe1
2 changed files with 17 additions and 8 deletions
+4 -4
View File
@@ -11,8 +11,8 @@ import qs.Modules.MainScreen
SmartPanel {
id: root
preferredWidth: 520 * Style.uiScaleRatio
preferredHeight: 600 * Style.uiScaleRatio
preferredWidth: Math.round(520 * Style.uiScaleRatio)
preferredHeight: Math.round(600 * Style.uiScaleRatio)
preferredWidthRatio: 0.4
preferredHeightRatio: 0.6
@@ -47,7 +47,7 @@ SmartPanel {
Item {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.minimumHeight: 300
Layout.minimumHeight: Math.round(300 * Style.uiScaleRatio)
StackLayout {
id: stepStack
@@ -58,7 +58,7 @@ SmartPanel {
Item {
ColumnLayout {
anchors.centerIn: parent
width: Math.min(parent.width - Style.marginXL * 2, 420)
width: Math.round(Math.min(parent.width - Style.marginXL * 2, 420))
spacing: Style.marginXL
// Logo with subtle glow effect