mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user