This is sort of convoluted, but I'll try to simplify it: I'm trying to edit the Equip scene using the class Window_HorzCommand, which sets up a certain number of commands right next to each other. The layout I've made calls for these commands to have a spacing of about 90, which I've changed by adding the following code into the class Window_EquipCommand :
Pretty simple, but changing spacing causes the "highlighter" itself to shrink, so it doesn't match the contents. This is most likely because several methods which define width use spacing itself as part of the equation. Changing the equations doesn't help however since that interferes with other classes.
I guess my questions is, is it possible to create a new method for calculating width specifically for Window_EquipCommand that doesn't factor in spacing? Oddly enough, Window_EquipCommand(x, y, width) requires you to specify width, which seems pointless when changing the spacing utterly screws that up.
Any help would be much appreciated, thanks!
Code:
def spacing
return 90
end
Pretty simple, but changing spacing causes the "highlighter" itself to shrink, so it doesn't match the contents. This is most likely because several methods which define width use spacing itself as part of the equation. Changing the equations doesn't help however since that interferes with other classes.
I guess my questions is, is it possible to create a new method for calculating width specifically for Window_EquipCommand that doesn't factor in spacing? Oddly enough, Window_EquipCommand(x, y, width) requires you to specify width, which seems pointless when changing the spacing utterly screws that up.
Any help would be much appreciated, thanks!