From 553aa1382421a1fb125563d47edb7f6be7ed9262 Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Thu, 19 Mar 2026 04:45:35 +0000 Subject: [PATCH] =?UTF-8?q?fix(qt6):=20center=20all=20text=20=E2=80=94=20L?= =?UTF-8?q?ayout.fillWidth=20+=20horizontalAlignment=20on=20hero=20and=20s?= =?UTF-8?q?ection=20titles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- frontends/qt6/FrontPage.qml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/frontends/qt6/FrontPage.qml b/frontends/qt6/FrontPage.qml index 8498ce2e5..f4e108c6a 100644 --- a/frontends/qt6/FrontPage.qml +++ b/frontends/qt6/FrontPage.qml @@ -132,14 +132,16 @@ Rectangle { font.weight: Font.Black font.letterSpacing: -2 color: onSurface - Layout.alignment: Qt.AlignHCenter + Layout.fillWidth: true + horizontalAlignment: Text.AlignHCenter } CText { text: "The universal platform for building data-driven applications." font.pixelSize: 17 color: onSurfaceVariant - Layout.alignment: Qt.AlignHCenter + Layout.fillWidth: true + horizontalAlignment: Text.AlignHCenter } CText { @@ -148,7 +150,8 @@ Rectangle { font.family: "monospace" color: onSurfaceVariant opacity: isDark ? 0.4 : 0.55 - Layout.alignment: Qt.AlignHCenter + Layout.fillWidth: true + horizontalAlignment: Text.AlignHCenter } RowLayout { @@ -299,7 +302,8 @@ Rectangle { font.pixelSize: 22 font.weight: Font.Bold color: onSurface - Layout.alignment: Qt.AlignHCenter + Layout.fillWidth: true + horizontalAlignment: Text.AlignHCenter } GridLayout { @@ -437,7 +441,8 @@ Rectangle { font.pixelSize: 22 font.weight: Font.Bold color: onSurface - Layout.alignment: Qt.AlignHCenter + Layout.fillWidth: true + horizontalAlignment: Text.AlignHCenter } GridLayout { @@ -505,7 +510,8 @@ Rectangle { font.pixelSize: 22 font.weight: Font.Bold color: onSurface - Layout.alignment: Qt.AlignHCenter + Layout.fillWidth: true + horizontalAlignment: Text.AlignHCenter } RowLayout { @@ -571,7 +577,8 @@ Rectangle { font.pixelSize: 22 font.weight: Font.Bold color: onSurface - Layout.alignment: Qt.AlignHCenter + Layout.fillWidth: true + horizontalAlignment: Text.AlignHCenter } RowLayout {