Skip to content

Conversation

@OrzMiku
Copy link
Contributor

@OrzMiku OrzMiku commented Jan 16, 2026

fix: #5240

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses issue #5240 by preventing horizontal scrollbars in the game instance list. The change sets the preferred width to 0 for the center HBox container in the GameListCell, which allows the JavaFX layout engine to properly constrain the content width.

Changes:

  • Added center.setPrefWidth(0) to the center HBox in GameListCell to prevent horizontal overflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Glavo Glavo merged commit 1e76733 into HMCL-dev:main Jan 19, 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.

[Bug] 实例列表出现左右滚动条

2 participants