If you can add a Canvas Rounded Corner Rectangles to this plugin . 🙂
like this
http://js-bits.blogspot.ca/2010/07/canvas-rounded-corner-rectangles.html
Window_Base.prototype.drawTextExTest = function(text, x, y) {
Galv.Mstyle.testActive = false;
if (text) {
Galv.Mstyle.testActive = true;
var textState = { index: 0, x: x, y: y, left: x };
textState.text = this.convertEscapeCharacters(text);
//my fix start
var generarr = textState.text.split('\n');
var myt='';
for (i=0; i<generarr.length; i++) {
generarr[i]=generarr[i].replace(/\[.*\]/g, '');
if (myt.length<=generarr[i].length) {myt=generarr[i];}
}
textState.text = myt;
//my fix end
textState.height = this.calcTextHeight(textState, false);
while (textState.index < textState.text.length) {
this.processCharacter(textState);
}
Galv.Mstyle.testActive = false;
return textState.x - x;
} else {
return 0;
}
};
That's understandable! Just thought it would be a great addition!
Thank you!
Original thread: https://forums.rpgmakerweb.com/threads/galvs-message-styles.59724/