be1128f6 by 柴进

fix(qml): 历史 ListView + sidebar TaskList 加 ScrollBar.vertical

QML ListView 默认 interactive 但不显示 ScrollBar — 用户用滚轮 / 拖拽
能滚动但看不到滚动条,体验不直观。

补:
  - HistoryTab.historyList: ScrollBar.vertical (AsNeeded)
  - MainWindow.taskList (sidebar): ScrollBar.vertical (AsNeeded)

ImageGenTab promptArea / StyleDesignerTab 字段区都是 ScrollView 自带 ScrollBar,
不受影响。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 53e6ff8f
......@@ -162,6 +162,10 @@ Item {
clip: true
model: history.model
ScrollBar.vertical: ScrollBar {
policy: ScrollBar.AsNeeded
}
delegate: Rectangle {
required property int index
required property string display
......
......@@ -172,6 +172,10 @@ Rectangle {
model: taskQueue.model
ScrollBar.vertical: ScrollBar {
policy: ScrollBar.AsNeeded
}
// 右键菜单上下文:当前点击的任务 id + 状态
property string ctxTaskId: ""
property string ctxStatus: ""
......