Started by
VegaOrionis
on
Topic category: Help with MCreator software
I know how to resize the button horizontally but I don't know how to resize the button vertically.
Topic category: Help with MCreator software
I know how to resize the button horizontally but I don't know how to resize the button vertically.
you can do this by locking the element but does your version have the image button option?
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...
can you show your edits and what it looks like?
https://imgur.com/a/coaS7jH
https://imgur.com/a/GVkEtOv
Oh yeah it will do that,
does your version have the undecorated option?
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.
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
got this, i'm trying to port it to 1.15.2
👀
this looks so messy x3
so in the
init
method do something like this to thethis.addButton
I didn't notice the message earlier, I already updated to the newer version and ignored the problem (I left it as a small bug in my mod :V) But thanks for the code, I might use it someday :)
Oh, which version did you switch to now? x3
I switched and changed the code to 1.16.5, everything went well, and now I'm on 1.17.1 and then it stopped working :V