Skip to content

Label individual size, margin, and origin fields#2288

Merged
colinator27 merged 1 commit intoUnderminersTeam:masterfrom
Jacky720:sprite-editor-tweak
Dec 18, 2025
Merged

Label individual size, margin, and origin fields#2288
colinator27 merged 1 commit intoUnderminersTeam:masterfrom
Jacky720:sprite-editor-tweak

Conversation

@Jacky720
Copy link
Copy Markdown
Contributor

Description

Minor change to the sprite editor to clarify the width, height, and each margin side.
image

Caveats

Looks worse than the current solution at extremely wide (too much empty space) and extremely narrow (cropped text, too-small fields) tool scales.
image
image

Notes

Suggested by HalfBreadChaos in the Underminers server.

@github-actions
Copy link
Copy Markdown

@colinator27
Copy link
Copy Markdown
Member

Looks good to me. I think it's probably acceptable for the worse look when it's shrunk horizontally, because you can still tell what it's supposed to mean from just a few letters. Not sure if there's a way to get breakpoints set up properly...

Besides that, I wonder if we also want to rename "Margin" to something like "BBox" (for bounding box), since that's the terminology GameMaker itself uses.

Copy link
Copy Markdown
Member

@colinator27 colinator27 left a comment

Choose a reason for hiding this comment

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

I guess we can figure out whether we want to rename "Margin" in the future, but this is a welcome improvement in the meantime. Thanks!

@colinator27 colinator27 merged commit fcdfb9b into UnderminersTeam:master Dec 18, 2025
5 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.

2 participants