Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate map name / author #50

Open
Fort-TM opened this issue Nov 10, 2024 · 0 comments
Open

Truncate map name / author #50

Fort-TM opened this issue Nov 10, 2024 · 0 comments

Comments

@Fort-TM
Copy link

Fort-TM commented Nov 10, 2024

Issue

When a map name / author is too long, the window can get absurdly large, and due to this OP bug (openplanet-nl/issues#566), the window will keep the long width till the game is reopened or the script engine / plugin is reset.

Example

20241109102907_1

This is how the window can look after playing a map with a large name (sadly I couldn't find the map that caused this issue)

Other information

The Ultimate Medals plugin solves this for the map name by adding a setting that allows the plugin to set a max width, and automatically scroll the text. Relevant code

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

No branches or pull requests

1 participant