class Window_ItemList < Window_Selectable
def item_height
line_height * 2
end
def draw_item_name(item, x, y, enabled = true, width = 172)
return unless item
draw_icon(item.icon_index, x+6, y + line_height/2, enabled)
change_color(normal_color, enabled)
draw_text(x + 32, y + line_height/2, width, line_height, item.name)
end
end
class Window_ItemList < Window_Selectable
def item_height
line_height * 2
end
def draw_item_name(item, x, y, enabled = true, width = 172)
return unless item
draw_icon(item.icon_index, x+6, y + line_height/2, enabled)
change_color(normal_color, enabled)
draw_text(x + 32, y + line_height/2, width, line_height, item.name)
end
end