Skip to content

Character Panel Number spacing#7706

Merged
StephenCWills merged 2 commits intodiasurgical:masterfrom
kphoenix137:char-panel-spacing
Mar 15, 2025
Merged

Character Panel Number spacing#7706
StephenCWills merged 2 commits intodiasurgical:masterfrom
kphoenix137:char-panel-spacing

Conversation

@kphoenix137
Copy link
Copy Markdown
Collaborator

@kphoenix137 kphoenix137 commented Feb 3, 2025

Depends on: #7705
Fixes: #7692
Obsoletes: #7688

Removes hardcoding from the Character Panel for spacing numbers, and prevents them from extending too far onto the box edges.

@glebm
Copy link
Copy Markdown
Collaborator

glebm commented Mar 2, 2025

I think if this is rebased on top of the current master and changes to text_render.cpp are reverted, this should already work (as of #7794)

@kphoenix137
Copy link
Copy Markdown
Collaborator Author

I think if this is rebased on top of the current master and changes to text_render.cpp are reverted, this should already work (as of #7794)

This should be ready now. :)

Copy link
Copy Markdown
Member

@StephenCWills StephenCWills left a comment

Choose a reason for hiding this comment

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

Short, sweet, cleans out some hardcoded numbers and spacing values. Nothing but good things to say about this PR.

@StephenCWills StephenCWills merged commit 681a066 into diasurgical:master Mar 15, 2025
23 checks passed
@kphoenix137 kphoenix137 deleted the char-panel-spacing branch March 15, 2025 21:13
Yggdrasill pushed a commit to Yggdrasill/DevilutionX that referenced this pull request Mar 23, 2025
Yggdrasill pushed a commit to Yggdrasill/DevilutionX that referenced this pull request Mar 23, 2025
Trihedraf pushed a commit to Trihedraf/devilutionX that referenced this pull request May 16, 2025
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.

Use KerningFitSpacing when rendering Character Panel text

3 participants