MZ Window_TitleCommand Query

Shikamooni, fellow RPGMakers-

Where in the API do I examine to find the code so that I may:

  1. Prevent the Window_TitleCommand's cursor background image from stretching?
  2. Remove the gaps bewteen the Window_TitleCommand's items?
window_titlecommand.png


Asante in advance and have a good weekend wherever you are 🙂
  1. All game windows use the inherited methods from Window.prototype to position, scale, and draw the cursor. Check out the _refreshCursor method in rmmz_core.js.

  2. I think you can override the window's rowSpacing method, e.g.
    JavaScript:
    Window_TitleCommand.prototype.rowSpacing = function() { return 0; };
  1. All game windows use the inherited methods from Window.prototype to position, scale, and draw the cursor. Check out the _refreshCursor method in rmmz_core.js.
  2. I think you can override the window's rowSpacing method, e.g.
    JavaScript:
    Window_TitleCommand.prototype.rowSpacing = function() { return 0; };
  1. All game windows use the inherited methods from Window.prototype to position, scale, and draw the cursor. Check out the _refreshCursor method in rmmz_core.js.
  2. I think you can override the window's rowSpacing method, e.g.
    JavaScript:
    Window_TitleCommand.prototype.rowSpacing = function() { return 0; };

Thank you!

Your row solution worked perfectly, but reading over _refreshCursor I think I must now try and make sense of Window.prototype._setRectPartsGeometry to achieve my end.

I appreciate your help and party on! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/window_titlecommand-query.140157/