![]() |
|
#1
|
|||
|
|||
Oh great...
But I've got some questions and can not find information in the tutorials or vizard help. 1) Is it possible to set the textsize of the vizinfo message? 2) How can I set a fixed width and height of the vizinfo field? 3) Can I deactivate the shrink and expand function? These are automatically ON, but I do not know how to switch off. Many thanks! |
#2
|
|||
|
|||
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() |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create Button or Text | Chrissy2009 | Vizard | 1 | 07-15-2009 05:34 PM |
Vizard tech tip: Text to Speech | Jeff | Vizard | 1 | 01-15-2009 09:39 PM |
text output | jaclyn.bill | Vizard | 2 | 10-24-2007 06:37 AM |
adding 2D text via script | V.shazzle | Vizard | 3 | 09-19-2005 02:45 PM |
3d Text with Transparent Borders | vjosh | Vizard | 3 | 12-01-2004 10:50 AM |