![]() |
|
#1
|
|||
|
|||
|
Trouble with Adding Item to Screen
Hi, I want to append an object to the screen, such as a 2-dimensional box. I asked this question before on the forum and was given the view link answer. This doesn't really solve what I want, because if the user maximizes the window, the box does not move or resize with the window change.
I want to have a box so that it will be connected to the screen and act as a text box would and resize if a window resizes. Any Suggestion? Thank you, Jassel41 |
|
#2
|
|||
|
|||
|
You can register a callback for viz.WINDOW_SIZE_EVENT and resize your object whenever the window is resized.
|
|
#3
|
|||
|
|||
|
Thanks, the main thing I wanted to add was a rectangle to the screen. I ended up simply using a text Quad and scaled it accordingly.
Thanks |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Title Screen | c4am95 | Vizard | 4 | 04-08-2010 02:24 PM |
| Trouble with adding actions | vijaykiran | Vizard | 0 | 10-05-2009 04:18 PM |
| split screen | honey006 | Vizard | 3 | 05-21-2009 10:57 AM |
| screen image | erchrastil | Vizard | 8 | 06-27-2008 12:45 PM |
| position of html-file on screen | active_world | Vizard | 1 | 05-16-2008 08:24 PM |