08-31-2012 10:35 AM
Couldn't find an answer in a forum search. Anybody know how to vertically center text in a System Ring?
08-31-2012 11:10 AM
I would like to know it too!
08-31-2012 12:39 PM
Unfortunately, I'm fairly certain that LabVIEW does not provide a way to center the text in a ring control vertically.
08-31-2012 01:45 PM
There is currently no way to vertically center the text in a system ring. You can fake it by adding extra carriage returns in the ring text:
Note that when you do this, the extra carriage returns appear as spaces in the ring text when the pop-up ring is visible:
Other than this, the only other way to accomplish what you want would be to create a picture control that behaves like the ring. Painful.
09-01-2012 12:53 PM
I haven't tried this, but can you do this in a .NET or ActiveX ring (or combo box, which I believe is the name used for the equivalent control)? This will make the code Windows only.
09-02-2012 05:35 PM
Have you tried resizing and repositioning the "Ring Text" part usng the Control Editor?
09-04-2012 08:53 AM
Jack - That solution works as long as you know the text will always be one line, but multi-line text will be cut-off.
10-17-2012 02:16 AM
I think centering vertically should be added to LabVIEW. When you agree then please vote for http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-vertical-center-for-string-indicators-and-don-t-di...