fix(qml): 调整 ImageGenTab 三段高度,预览不被挤掉
- 参考图 Card preferredHeight 240 → 200 - 提示词+生成设置行 preferredHeight 360 → 320 - 生成设置卡内 spacing 16 → 12, group 内 6 → 4 - caption "生成模式/宽高比/图片尺寸" 完整显示, 预览卡占满底部 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Showing
1 changed file
with
4 additions
and
3 deletions
| ... | @@ -13,7 +13,8 @@ Item { | ... | @@ -13,7 +13,8 @@ Item { |
| 13 | // ===== 参考图片卡片 ===== | 13 | // ===== 参考图片卡片 ===== |
| 14 | Card { | 14 | Card { |
| 15 | Layout.fillWidth: true | 15 | Layout.fillWidth: true |
| 16 | implicitHeight: 240 | 16 | Layout.preferredHeight: 200 |
| 17 | Layout.minimumHeight: 180 | ||
| 17 | 18 | ||
| 18 | ColumnLayout { | 19 | ColumnLayout { |
| 19 | anchors.fill: parent | 20 | anchors.fill: parent |
| ... | @@ -71,8 +72,8 @@ Item { | ... | @@ -71,8 +72,8 @@ Item { |
| 71 | RowLayout { | 72 | RowLayout { |
| 72 | spacing: App.Theme.space4 | 73 | spacing: App.Theme.space4 |
| 73 | Layout.fillWidth: true | 74 | Layout.fillWidth: true |
| 74 | Layout.preferredHeight: 360 | 75 | Layout.preferredHeight: 320 |
| 75 | Layout.minimumHeight: 340 | 76 | Layout.minimumHeight: 320 |
| 76 | 77 | ||
| 77 | // 提示词 | 78 | // 提示词 |
| 78 | Card { | 79 | Card { | ... | ... |
-
Please register or sign in to post a comment