mojira.dev
MC-117032

"Done" button in statistics screen is offset

The bug

The "Done" button in the statistics screen is offset. It would be expected to be centered, similar to the rest of the menus.

Fix

GuiStats.java

public void initButtons()
    {
--      this.buttonList.add(new GuiButton(0, this.width / 2 + 4, this.height - 28, 150, 20, I18n.format("gui.done")));
++  	this.buttonList.add(new GuiButton(0, this.width / 2 - 100, this.height - 27, I18n.format("gui.done")));

    	//...
    }

Before and after.

Comments 1

Confirmed in 1.12-pre3

[Mod] Neko

(Unassigned)

Confirmed

screen, statistics

Minecraft 1.11.2, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, , Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w46a

Minecraft 17w47a

Retrieved