def update_help @help_window.set_item(item) @help_window.uppos(index,item_rect(index),self) if index != -1 && item != nil endend
def update_help @help_window.set_item(item) @help_window.uppos(index,item_rect(index),self) if index != -1 && item != nil endend
只要使用技能的话就会报错。。
#--------------------------------------------------------------------------
# ● ***********计算窗口显示指定行数时的应用高度(适应字体大小)***********
#--------------------------------------------------------------------------
def fitting_height_vip(line_number)
contents.font.size = VIPArcher::Help_Ex::Font_Size
line_number * contents.font.size + standard_padding * 2
end
#--------------------------------------------------------------------------
# ● ***********计算窗口显示指定行数时的应用高度(适应字体大小)***********
#--------------------------------------------------------------------------
def fitting_height_vip(line_number)
contents.font.size = VIPArcher::Help_Ex::Font_Size
line_number * contents.font.size + standard_padding * 2
end