Informationboxes with text
1 Attachment(s)
Hi all,
how can I create information boxes, with dynamic created text? (see attachment) I used this for the box: Code:
def createTextBox(self, textur): Code:
def createText(self, text, name, fontsize): I don't understand, why the box is at the position [1.5, 3.3] and the text at [0.6, 0.9] and in the normal view (not fullscreen), both are at the same position. Is it possible to set the box and the text at one fixed point from the right side of the window? The attachment shows my idea... Thanks a lot for any help! |
Have you considered using the vizinfo module? Many of the examples that come with Vizard uses this module to display fixed text on the screen. Search the docs for vizinfo for example code.
|
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! |
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 |
All times are GMT -7. The time now is 08:56 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC