Skip to content

Separate Static width and height and allow min/max to be set instead - #1312

Open
Tellinq wants to merge 1 commit into
Polyfrost:v1from
Tellinq:hud-size-constraints
Open

Tellinq wants to merge 1 commit into
Polyfrost:v1from
Tellinq:hud-size-constraints

Conversation

@Tellinq

@Tellinq Tellinq commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Description

Makes the width and height static separated, and lets users set a minimum and maximum width/height.

image

If the HUD were to overflow from its bounds, based on the amount of padding, there's another option to scale down the HUD (while keeping the dimensions the same as the maximum allowed). This is off by default for now.

Related Issue(s)

Closes #1307

Checklist

  • I made a clear description of what was changed
  • I stated why these changes were necessary
  • I updated documentation or said what needs to be updated
  • I made sure these changes are backwards compatible
  • This pull request is for one feature/bug fix

@Tellinq

Tellinq commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

I’m thinking the Min toggle shouldn’t exist at all. Since it’s effectively 0

Could do just a number range but max is currently infinity by default so I feel setting a super duper high number would be silly.

Also may set to a draft since #1328 exists

@Wyvest Wyvest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please address these sizing and compatibility issues.

@Tellinq
Tellinq force-pushed the hud-size-constraints branch from 1901c39 to a96f686 Compare November 12, 2026 02:52
@Tellinq
Tellinq requested a review from Wyvest November 12, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

hud editor: ability to set height/width without making static

2 participants