Are you using Yanfly's message script? if yes, I do think that maybe variable 22 and 21 are the ones set to modify the width and height of the message box... Look at his configuration and change the variables there or change the variables that you're using for the event
PS: Always say which scripts you are using and provide links to their threads please.
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.
Next time you need help with a script, please post your question in the RGSSx Script Support forum and include links to the script(s).