Adjusting the position of ButtonSet.png asset



I tried making a new set of buttons, but unless I make them 20x20(Very small and aligned up near the top of the original dimensions), I cannot fit them properly inside of the crafting or shop window. I've looked at the master list and on site, but no one has done a plug in or controls for the button set.

What I'd like to do is have a plug in control the position of button set, and allow me to set their position using x and y coordinates.
I do not need them to behave differently, and I'll still be using the original's buttonset.png as a template.
I'm gonna be that guy no one likes and say...
I don't know the answer to your question. but I feel obligated to compliment you on how this looks.
I hope you get it figured out!
are you trying to center them ? or are you trying to place individualy?
are you trying to center them ? or are you trying to place individualy?
Place them as a group higher. Just move up their position higher into the window so they don't overlap the boarder.
Which plugins are you using? The screens above look like they're from Yanfly, but I can't recognize them exactly. The button set position is set individually for each window that uses them, so I'd need a list of all the windows where the position is off (you also mentioned the shop window?) and the plugins that modify / create them.
Which plugins are you using? The screens above look like they're from Yanfly, but I can't recognize them exactly. The button set position is set individually for each window that uses them, so I'd need a list of all the windows where the position is off (you also mentioned the shop window?) and the plugins that modify / create them.
Understood.
I'm using Yanfly's Item Synthesis.
For the shop window I am using Yanflys Shop Core, but the buttons there aren't overlapping there, even at full regular size. I assumed they were given what happened with the crafting screen.
The only window I need placement adjusted for buttonset is the Item Synthesis, sorry for the confusion.
Ah, ok. In that case, just save this as a .js file and add it as a plugin below Yanfly's Item Synthesis:
Code:
Window_SynthesisNumber.prototype.buttonY = function() {
    return Math.round(this.priceY() + this.lineHeight() * 2.5) - 32; // adjust this number if you need
};
That's only for the Y position (because conveniently, it has its own function and the X position looked ok). Let me know if you would also like a way to change the X position just in case.
Ah, ok. In that case, just save this as a .js file and add it as a plugin below Yanfly's Item Synthesis:
Code:
Window_SynthesisNumber.prototype.buttonY = function() {
    return Math.round(this.priceY() + this.lineHeight() * 2.5) - 32; // adjust this number if you need
};
That's only for the Y position (because conveniently, it has its own function and the X position looked ok). Let me know if you would also like a way to change the X position just in case.
Perfect! Thank you for you going to the trouble. Let me know if you need help with graphical work in the future.
this inquiry will be flagged as solved.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/adjusting-the-position-of-buttonset-png-asset.81842/