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("") Thanks. |
You could use the alignment method on the vizinfo box:
Code:
subTalk.alignment(viz.TEXT_LEFT_CENTER) |
Thanks for your suggestion...but,
1 Attachment(s)
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, |
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, |
Try adding the GUIs to a panel object of the vizdlg module. That will allow for more flexibility in positioning them.
|
All times are GMT -7. The time now is 04:51 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC