Editing the vertical size of the button in GUI

Started by VegaOrionis on

Topic category: Help with MCreator software

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Editing the vertical size of the button in GUI

I know how to resize the button horizontally but I don't know how to resize the button vertically.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can do this by locking…
Tue, 10/14/2025 - 12:55

you can do this by locking the element but does your version have the image button option?

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unfortunately, they haven't…
Tue, 10/14/2025 - 13:37

Unfortunately, they haven't implemented this in version 2021.2 yet. I know it's already in newer versions, but I don't know which version it's been available since. I manually edited the GUI code and it works but the bottom of the button doesn't display correctly...

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you show your edits and…
Tue, 10/14/2025 - 13:45

can you show your edits and what it looks like?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh yeah it will do that,…
Tue, 10/14/2025 - 15:05

Oh yeah it will do that,

does your version have the undecorated option?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh um, it just works in…
Tue, 10/14/2025 - 15:12

oh um,

it just works in newer versions, but I was going to say you could just fake it, not with the undecorated option. but just by making a black line texture and lining it up with the bottom of the button.

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the old version there is…
Tue, 10/14/2025 - 15:37

In the old version there is no option without decorations. I also thought about aligning it by pasting a black line, but there is a problem when you hover the mouse over it. There is no backlight effect, I don't know if there is a procedure to change the texture when you move the mouse over it