[RMVX ACE] HOW TO SPACE OUT COLUMNS IN MENUS?

Posts

Pages: 1
Hey there! Me again, haha...

So! To explain my issue: Both instances of the Item Window (in battle, and in the main menu) consist of two columns separated by a gap. I'm looking for a way to bring those two columns closer together.

So far, I haven't had any luck tinkering with the Script Editor. I did, however, manage to find a script with a pretty relevant line buried in its code:

SKILL_SCENE_SPACING = 4 #spacing between columns. default=8.
I found it here: http://rmrk.net/index.php?topic=44946.0

It's exactly the kind of command I'm looking for. I'm just not really sure how or where to apply it to my game.

I wasn't really sure how to phrase this question, so if you're unclear on what I'm asking for, just say so and I'll gladly try to clarify!

Thanks!!
Marrend
Guardian of the Description Thread
21806
I'm thinking it'd be under Window_ItemList...

class Window_ItemList < Window_Selectable
  def spacing
    return 0
  end
end


...like so. That example makes the space between the columns 0 pixels wide. The default amount of space is...

class Window_Selectable < Window_Base
  def spacing
    return 32
  end
end


...32, so, keep that in mind when you're setting the gap to the amount you actually want.
author=Marrend
I'm thinking it'd be under Window_ItemList...

class Window_ItemList < Window_Selectable
  def spacing
    return 0
  end
end


...like so. That example makes the space between the columns 0 pixels wide. The default amount of space is...

class Window_Selectable < Window_Base
  def spacing
    return 32
  end
end


...32, so, keep that in mind when you're setting the gap to the amount you actually want.


This is exactly what I was looking for!
Thank you so much!!
Marrend
Guardian of the Description Thread
21806
Happy to be of help!
Pages: 1