Hello, I am wondering how I can add padding around the text in a dialogue box. I found the following code but it only works for width, not height. How do I go about adding padding to all sides?
Here's a screenshot of my current dialogue box setup. The text isn't padded.
Code:
Window_Message.prototype.newLineX = function(textState) {
const faceExists = $gameMessage.faceName() !== "";
const faceWidth = ImageManager.faceWidth;
const spacing = 20;
const margin = faceExists ? faceWidth + spacing : 50;
return textState.rtl ? this.innerWidth - margin : margin;
};