How to change GUI button size

Started by FragantA4sheet on

Topic category: Help with modding (Java Edition)

Last seen on 07:21, 7. Feb 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to change GUI button size

Hi there, title. How do I change the size of the GUI buttons, I've tried the smallest size I.E just a "space" but it's still too large for my purposes. I just want a square button.

I searched before posting and people said to right click, but that just moves the button not changes anything. I tried to drag the corners or press some of the edit options but none of them seemed to work.

Last seen on 18:16, 12. May 2024
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shift + RBM
Mon, 10/10/2022 - 14:44

Shift + RBM

Last seen on 07:21, 7. Feb 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shift + RBM does not work. I…
Tue, 10/11/2022 - 07:09

Shift + RBM does not work.

I've found it out myself, but what you have to do is: RMB without shift as you initially place a new button and move it horizontally to resize.

Without any custom code:

You cannot change the size of the button after you've created it.

You cannot change the vertical space of the button.