Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-117032

"Done" button in statistics screen is offset

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.11.2, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 17w31a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w46a
    • Minecraft 17w47a
    • Confirmed

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Neko [Mod] Neko
            Votes:
            9 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: