Hi. Just wondering how you can center a command's text? For example, in my menu, I want to center the command names rather than them being on the left side. is there a way to do this? Thanks.
Centering Commands
Learning JavascriptDownload yanfly's main menu manager plugin.
Window_MenuCommand.prototype.itemTextAlign = function() {
return 'center';
};
return 'center';
};
Window_MenuCommand.prototype.itemTextAlign = function() {
return 'center';
};
Ninja'd 😳
return 'center';
};
Ninja'd 😳
Thanks a lot everyone who helped. Works fine now 😀
Original thread: https://forums.rpgmakerweb.com/threads/centering-commands.55010/