fix(qt6): fix text clipping in badges, add hero spacing

- CText: use ProportionalHeight for all variants (FixedHeight with 1.0 = 1px, clips text)
- FrontPage: 8px top spacer, hero height 400px, content offset +16px for breathing room
- Text centered in badge circles no longer cut off

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-19 08:10:18 +00:00
parent 553aa13824
commit 9d9fbed60e
2 changed files with 9 additions and 4 deletions

View File

@@ -85,12 +85,15 @@ Rectangle {
width: parent.width
spacing: 0
// Top breathing room
Item { Layout.preferredHeight: 8 }
// ════════════════════════════════════════════════════════
// HERO
// ════════════════════════════════════════════════════════
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: 380
Layout.preferredHeight: 400
color: "transparent"
// Blue gradient wash
@@ -104,7 +107,9 @@ Rectangle {
}
ColumnLayout {
anchors.centerIn: parent
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
anchors.verticalCenterOffset: 16
width: Math.min(parent.width - 80, 720)
spacing: 16