Repository navigation
fix(settings): 统一只读设置行与操作按钮的布局 - #2467
Merged
Merged
Conversation
WhiteZeek
marked this pull request as ready for review
November 27, 2026 10:54
1lck
approved these changes
Nov 27, 2026
1 task done
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.
关联 Issue / Linked issue
Refs #2151
配套插件改动见 lithe-plugin-java#48。
PR 类型 / Type
改动说明 / What changes
插件设置区里,当一行只有一个占满宽度的只读文本框和一个操作按钮时,使用设置页已有的两列表单布局。使信息框、右侧按钮和上下间距与同页可编辑设置对齐。
类型专属:fix
复现与根因
在设置区并排声明只读文本框与按钮,原先走通用视图的流式布局,按钮使用默认尺寸。与下方原生设置行对照时,标题、控件和行距不一致。
检查项
范围检查 / Scope checks
验证 / Verification
go test ./internal/pluginview ./internal/settingswindow -run 'Test(Draw|Region|NarrowInstalledRegion|MarketplaceDivider)'TestNarrowInstalledRegionKeepsReadOnlyFieldActionClickablegofmt -l .,受影响包go vet提交前确认 / Final checks