Custom Positioning for the Choice Box

Hello fellow forum denizens,

I'm here once more hoping for some help with a bit of a complicated(?) matter. The game project me and some folks are working on seems to have run into an interface issue. In order to create some unity, we populated our 720p resolution interface with a few helpful concepts like stats/map etc. But our default dialogue box length was stretched too long and so needed resizing. Thankfully, the forum archives were mighty helpful and I was able to resize the dialogue window with the help of Yanfly's Message Core/Extended Message Pack 1 by using the \msgwidth[x] command.

Sadly, though the size issue for the dialogue box got addressed, the fix didn't seem to extend to choice boxes itself. Here is how it looks at the moment:

aWoM0ew.jpg


As of now, I am stuck is with 3 very rigid position choices:
SCMvXRL.jpg


And so, I ask: Is their any way or any plugin that I can use to try and fix this issue? I'm not really well versed with RPG Maker works(yet) so I would appreciate a bit of a detailed guidance if possible.

Thank you in advance.

Regards,
LonerPrime
I have helped a guy with the same problem. Search in the forum that you will find it.
I'm cellphone now. But when i go to the pc, i can search for for you if you dont find it.
I think this might be the thread Eliaquim mentioned: link.

I came up with a similar solution over here:
Try saving this as a .js file and importing it like a plugin~
Spoiler
Code:
/*:
 * @plugindesc Aligns the choice window to the message window.
 * @help Load this plugin after Yanfly's Message plugins (Core and Ext Pack 1).
 */

(function() {

'use strict';

	let _Window_ChoiceList_updatePlacement = Window_ChoiceList.prototype.updatePlacement;
	Window_ChoiceList.prototype.updatePlacement = function() {
		_Window_ChoiceList_updatePlacement.call(this);
		let wMsg = this._messageWindow;
		switch ($gameMessage.choicePositionType()) {
			case 0:
				this.x = wMsg.x;
				break;
			case 1:
				this.x = wMsg.x + (wMsg.width - this.width) / 2;
				break;
			case 2:
				this.x = wMsg.x + wMsg.width - this.width;
				break;
		}
	};

})();
Thank you both of you. That did the trick though it did take me a while to understand where the x and y values are gonna go :S

Still, appreciate it. o/

PS: Dear Mods: Problem Solved. Please go ahead and lock this thread. Ty.

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/custom-positioning-for-the-choice-box.109736/