mojira.dev
MC-265977

Font position on UI buttons are unbalanced when Unifont is used

When Unifont is used, UI buttons look unbalanced due to different top and bottom margins. The buttons has 12px top margin and 8px bottom margin when unifont is used. The buttons look much more balanded when fonts are moved 2px upward. 

Attachments

Comments 3

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

1 pixel* (then it's 13,13, moving it 2 would just make it 12,14,swapping the margins)
Please actually format the report as a bug, not a suggestion/request, and include the full info (steps to reproduce, expected and actual behavior).

EDIT: for those of you reading this now, look at the report history, the values in the description were modified after this comment.

The height of ascii fonts are 14px when default font is used and 10px when Unifont is used. Excluding button borders, top and bottom margins are 8px/8px without Unifont and 12px/8px with Unifont. So, buttons looks better when fonts are moved 2px upward when Unifont is used.

hsee26

(Unassigned)

Confirmed

Platform

Normal

UI

1.20.2, 23w42a, 1.20.4

Retrieved