Hi!
I am trying to set up the shop window and by extension the sell window. And the way I find a design that might work is to have a 2x2 selector for the category, but upon doing this it just looks like this:
I haven't really changed/added mor than these functions in regards to the category window. Apart from just sizing it.
You can move around in the four areas just fine, but two categories are missing, and they are not visible nor can they be found. It just looks exactly this way regardless of where you move the cursor. Any idea if this is fixable? :/
EDIT:
I am having a similar, probably related-ish, situation with the Window_ShopNumber. The width is set to the above window, they share the same x-value. But the width is determined by some type of padding rules. But I do not know where to find these settings.
Best regards,
Bishiba
I am trying to set up the shop window and by extension the sell window. And the way I find a design that might work is to have a 2x2 selector for the category, but upon doing this it just looks like this:
JavaScript:
Window_ItemCategory.prototype.maxCols = function() {
return 2;
};
Window_ItemCategory.prototype.numVisibleRows = function() {
return 2;
};
I haven't really changed/added mor than these functions in regards to the category window. Apart from just sizing it.
You can move around in the four areas just fine, but two categories are missing, and they are not visible nor can they be found. It just looks exactly this way regardless of where you move the cursor. Any idea if this is fixable? :/
EDIT:
I am having a similar, probably related-ish, situation with the Window_ShopNumber. The width is set to the above window, they share the same x-value. But the width is determined by some type of padding rules. But I do not know where to find these settings.
JavaScript:
Scene_Shop.prototype.createNumberWindow = function() {
var wx = this._actorWindow.x;
var wy = this._commandWindow.y + this._commandWindow.height;
var wh = this._buyWindow.height;
var ww = this._actorWindow.width;
this._numberWindow = new Window_ShopNumber(wx, wy, wh, ww);
this._numberWindow.hide();
this._numberWindow.setHandler('ok', this.onNumberOk.bind(this));
this._numberWindow.setHandler('cancel', this.onNumberCancel.bind(this));
this.addWindow(this._numberWindow);
};
Best regards,
Bishiba