Skip to content

fix: 模组名字过长导致下载页面布局异常#5943

Merged
Glavo merged 2 commits intoHMCL-dev:mainfrom
CiiLu:msmsmmsms
Apr 12, 2026
Merged

fix: 模组名字过长导致下载页面布局异常#5943
Glavo merged 2 commits intoHMCL-dev:mainfrom
CiiLu:msmsmmsms

Conversation

@CiiLu
Copy link
Copy Markdown
Contributor

@CiiLu CiiLu commented Apr 12, 2026

例:C2ME
348631861d924534ea828928a3c27970

@Glavo
Copy link
Copy Markdown
Member

Glavo commented Apr 12, 2026

/gemini review

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies TwoLineListItem and DownloadPage to improve layout behavior when space is limited. The review feedback recommends preserving component encapsulation by avoiding the exposure of internal layout containers through new getter methods. Instead, it suggests configuring the title label directly with a minimum width and an ellipsis overrun style to ensure long text is handled gracefully without breaking the layout.

@Glavo Glavo merged commit fe70cc3 into HMCL-dev:main Apr 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants