mojira.dev
MCPE-46975

Hotbar 1 pixel off

Everything on top of the item bar on the HUD like the XP bar, hearts and everything else is 1px off, this annoyance is not present in Java edition. This might seem like a very small problem but it has been driving me insane for months and made me stop playing due to frustration, people with OCD have been driven away because of this issue too and I hope it gets resolved.

Linked issues

Attachments

Comments 36

The xp bar, hunger gauge, and health gauge, are all centered. The hotbar is 1 pixel of to the left. Here's a comparison between the java and bedrock editions. Also the hotbar opacity on bedrock is bugged and the xp bar texture on bedrock is different.

[media]

Can you please add pictures showing the other difference(s) you've mentioned?

The picture I uploaded compares the java edition on the top and the bedrock edition on the bottom. As you can see the bedrock edition is transparent because it's alpha is set to 0.65 instead of 1. And the hotbar of the bedrock edition is 1 pixel off to the left. I measured the distance between the elements on my screen and the hotbar is not equal distance from each side. The other elements are centered.

Edit: I also noticed the xp bar is 2 and a half pixels above the hotbar when it's only supposed to be 2.

Still present in beta 1.13.0.16, I'm very surprised. All of these issues can be easily solved by changing the offset of the "hotbar@hotbar_chooser" from [ 3, 16 ] to [ 4, 16 ]. This will realign the hotbar back to center. And if you want to be really picky you can even change the offset to [4, 15.5] to fix the vertical distance between the hotbar and exp bar to match java's.  As for the alpha you just need to change the "start_cap_image" and the "hotbar_slot_image" from 0.65 to 1. All of these settings are under /ui/hud_screen.json

This has been driving me crazy for like 6 months.

Its crazy to me that this issue doesn’t have more votes in general. As soon as I noticed it I couldn’t unsee it.

[media]
26 more comments

I believe I noticed the beta fixed this issue. 

Oh thank you SOOOOOOOOOOOOOOO much. I couldn't unsee it and I started worrying about the future of Bedrock Edition as a whole if things as small but irritating as this were not fixed.

This actually still occurs if you load a world with the pocket ui mode enabled. Changing between pocket and classic while in a world has no difference however.

This still happens to me too but instead of the hotbar being offset by one pixel to the left, now it's offset by one pixel to the right.

Also I tried the XPBarOffsetFix and the XP bar is still offset.

Artur Ciechanowski

(Unassigned)

341676

Confirmed

Multiple

experience-bar, hotbar, pixel, visual

1.16.220, 1.16.210.58 Beta, 1.16.200.56 Beta, 1.16.200.55 Beta, 1.16.200.53 Beta, ..., 1.16.200, 1.16.201 Hotfix, 1.16.210, 1.17.0, 1.17.2 Hotfix

1.17.30.22 Beta, 1.17.30

Retrieved