fix(qml): 主窗口默认高 940 + 参考图回调 230,三段比例舒展
- Main.qml 登录态 height 880 → 940, minimumHeight 760 → 820 - 参考图 Card preferredHeight 170 → 230, minimum 160 → 200 - 视觉:参考图 / 提示词+设置 / 预览 ≈ 230 / 290 / 240,比例协调 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Showing
2 changed files
with
4 additions
and
4 deletions
| ... | @@ -13,8 +13,8 @@ Item { | ... | @@ -13,8 +13,8 @@ Item { |
| 13 | // ===== 参考图片卡片 ===== | 13 | // ===== 参考图片卡片 ===== |
| 14 | Card { | 14 | Card { |
| 15 | Layout.fillWidth: true | 15 | Layout.fillWidth: true |
| 16 | Layout.preferredHeight: 170 | 16 | Layout.preferredHeight: 230 |
| 17 | Layout.minimumHeight: 160 | 17 | Layout.minimumHeight: 200 |
| 18 | 18 | ||
| 19 | ColumnLayout { | 19 | ColumnLayout { |
| 20 | anchors.fill: parent | 20 | anchors.fill: parent | ... | ... |
| ... | @@ -29,9 +29,9 @@ ApplicationWindow { | ... | @@ -29,9 +29,9 @@ ApplicationWindow { |
| 29 | function updateGeometry() { | 29 | function updateGeometry() { |
| 30 | if (appState.loggedIn) { | 30 | if (appState.loggedIn) { |
| 31 | window.minimumWidth = 1100 | 31 | window.minimumWidth = 1100 |
| 32 | window.minimumHeight = 760 | 32 | window.minimumHeight = 820 |
| 33 | window.width = 1280 | 33 | window.width = 1280 |
| 34 | window.height = 880 | 34 | window.height = 940 |
| 35 | } else { | 35 | } else { |
| 36 | window.minimumWidth = 360 | 36 | window.minimumWidth = 360 |
| 37 | window.minimumHeight = 420 | 37 | window.minimumHeight = 420 | ... | ... |
-
Please register or sign in to post a comment