#1
|
|||
|
|||
Vizinfo box: help with aligning text
We have a program that uses the vizinfo box with text next to radio buttons inside but for some reason the text aligns itself to the rightmost side (closest to the radio buttons) and I'm having trouble trying to get it left-aligned.
The snippet looks like: Code:
subTalk = vizinfo.add("") ... aRadio = subTalk.add(viz.RADIO, 0, Level1[0]); bRadio = subTalk.add(viz.RADIO, 0, Level1[1]); cRadio = subTalk.add(viz.RADIO, 0 ,Level1[2]) Thanks. |
#2
|
|||
|
|||
You could use the alignment method on the vizinfo box:
Code:
subTalk.alignment(viz.TEXT_LEFT_CENTER) |
#3
|
|||
|
|||
Thanks for your suggestion...but,
I attached the bmp file showing how the info box looks like. Each line of text is now left-aligned as we wanted but the problem is that the radio buttons are shifted as well.
Is there any way to have only the text aligned to the leftmost side and have the radio buttons aligned to the right? Thanks, |
#4
|
|||
|
|||
Hi,
I realize you can manually set the positions of the radio buttons. However, we have plenty of sets of texts and it will be extremely inefficient and time-consuming to set the positions of every radio button for every labels. Any way to solve this mess? Thanks, |
#5
|
|||
|
|||
Try adding the GUIs to a panel object of the vizdlg module. That will allow for more flexibility in positioning them.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Informationboxes with text | snoopy78 | Vizard | 3 | 07-16-2009 10:23 AM |
vizinfo text alignment | hosier | Vizard | 2 | 06-22-2009 09:22 AM |
Vizard tech tip: Text to Speech | Jeff | Vizard | 1 | 01-15-2009 09:39 PM |
Modifying Vizinfo to Support Re-parenting Tip | Gladsomebeast | Vizard | 0 | 12-16-2008 05:34 PM |
3d Text with Transparent Borders | vjosh | Vizard | 3 | 12-01-2004 10:50 AM |