mojira.dev
MC-311585

Items in villager trade list are vertically off-center

The buttons to the left in the villager trade window are 20 pixels tall. It’d be expected that there would be two pixels of clearance from the top and two from the bottom for a 16x16 item sprite. However, this is not the case: there is only one pixel of clearance from the top and three from the bottom, discentering the sprite by a whole pixel.

It is easy to see with the new map item textures from a cartographer’s interface.

This could be fixed by simply moving the items down by one pixel; if this would cause the text shadow to undesirably conflict with its surroundings then the button height could be changed from 20 pixels to 22.

I’ve attached a resource pack with plainer button textures in case this makes the effect easier to see.

Linked issues

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Hi!
Thank you for your report! 

We're already tracking this issue at MC-235364, so I will resolve and link this ticket as a Duplicate. 

I suggest also to browse through the main issue for potential fixes. 

If you would like to add a vote and any extra information to the main ticket it would be appreciated. 

Quick Links: 
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

muzikbike

(Unassigned)

Unconfirmed

26.3 Pre-Release 1

Retrieved