[0137] 调整AI对话输入框默认高度为三行并支持自适应延伸#3395
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 调整AI对话输入框高度为默认两行并支持自适应延伸 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> wip wip [0137] 修复新建聊天时输入框默认高度不为两行的问题 在创建输入框时同时设置 minimumHeight 和 maximumHeight, 确保默认空文档状态下高度严格固定为两行。 同时调整 adjust_input_height 使其同步更新 max 高度, 并补上了 kInputMaxLines 的上限限制。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 更新任务文档:默认高度调整为三行 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 将输入框默认高度从两行改为三行 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 更新任务文档:行高从22像素调整为18像素 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 将输入框行高从22像素减小为18像素 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 更新任务文档:行高恢复为22像素 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 将输入框行高恢复为22像素 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 减小输入框内部文档的行间距 通过 WITH 节点将 input-buffer 的 par-sep 从默认 0.2fn 降至 0.05fn。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 将行间距属性从 par-sep 修正为 par-par-sep 输入框中段落间距由 par-par-sep 控制,而非 par-sep。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 更新任务文档:添加已知限制说明 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> [0137] 格式化代码 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
GatsbyUSTC
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
调整 Chat Tab 输入框的默认高度和自适应行为:
kInputDefaultLines = 3)QTimer轮询文档段落数,动态调整输入框高度par-par-sep从默认0.5fns降至0.05fn)已知限制
当前通过段落数(
DOCUMENT子节点数)估算高度,因此:测试
xmake b stem