View Single Post
  #4  
Old 07-16-2009, 10:23 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The vizinfo box automatically adjusts its size to fit the widht/height of the text. The following code shows how to adjust the text size and disable the expand/shrink icon:
Code:
import viz
viz.go()

MESSAGE = """This is my message.
It contains multiple lines.
This is the last line.
"""

import vizinfo
info = vizinfo.add(MESSAGE,textsize=2.0) #Double text size
info._checkbox.disable()
Reply With Quote