mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
fix(qt6): center all text — Layout.fillWidth + horizontalAlignment on hero and section titles
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user