当前位置: 动力学知识库 > 问答 > 编程问答 >

rubygems - How can I set position for an icon in prawn gem rails?

问题描述:

I try to set position for an icon by text_box or draw_text like that

text_box(icon('fa-phone'), at: [400, 680],:inline_format => true)

draw_text(icon('fa-phone'), at: [300, 700], :inline_format => true)

but it doesn't work. Please help me! Thanks for any help.

分享给朋友:
您可能感兴趣的文章:
随机阅读: