Align "Display Name" to the Center? (SOLVED)

I love the default Map Name, that pops up as you enter an area. but it's far left over the other HUD items and looks bad.


Can i align it center, or is it locked there?
Window_MapName.prototype.initialize = function() {
var wight = this.windowWidth();
var height = this.windowHeight();
Window_Base.prototype.initialize.call(this, (Graphics.width - wight) / 2, 0, wight, height);
this.opacity = 0;
this.contentsOpacity = 0;
this._showCount = 0;
this.refresh();
};


Save that into a new file in your js/plugins folder.  Name doesn't matter, needs to have .js extension.  Then add to plugin manager.
Window_MapName.prototype.initialize = function() {
var wight = this.windowWidth();
var height = this.windowHeight();
Window_Base.prototype.initialize.call(this, (Graphics.width - wight) / 2, 0, wight, height);
this.opacity = 0;
this.contentsOpacity = 0;
this._showCount = 0;
this.refresh();
};


Save that into a new file in your js/plugins folder.  Name doesn't matter, needs to have .js extension.  Then add to plugin manager.



Wow thanks that did it, it was bugging me. I would think it had an option somewhere to do this.

Original thread: https://forums.rpgmakerweb.com/threads/align-display-name-to-the-center-solved.71343/