[VX Ace]Spacing between icons and names

● ARCHIVED · READ-ONLY
Started by Nérylis 3 posts View original ↗
  1. Hello,

    I would like to know in which part of the scripts we can change the spacing between the icons of items / weapons / armors and the associated name in the menus.

    Thank you in advance.
  2. in Window_Base:

    Code:
      #--------------------------------------------------------------------------
      # * Draw Item Name
      #     enabled : Enabled flag. When false, draw semi-transparently.
      #--------------------------------------------------------------------------
      def draw_item_name(item, x, y, enabled = true, width = 172)
        return unless item
        draw_icon(item.icon_index, x, y, enabled)
        change_color(normal_color, enabled)
        draw_text(x + 24, y, width, line_height, item.name)
      end

    Just change 24 to something larger to add a bit more space.
  3. Thanks for your help. :)