Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68973

Wrapping Captions and String Position

$
0
0

Hi all,

 

Got a quick question which I'm hoping is easily resolved and not an oversight on my part as its starting to bug the hell out of me.

 

I have a cluster who's caption I want to edit at run-time (you can't edit the label at runtime) to display the appropriate header title that is specified at the start of test. This works, however I need to ensure that the text does not expand

past the width of the cluster itself as I have multiple clusters next to each other thus I want to be able to wrap the caption text like you can a normal string indicator. The text will always be multi-lined.

 

If you run the attached VI you can see that the caption is excellent as it shifts the text upwards when a new line is encountered, however there does not appear to be a direct property or invoke node to enable caption wrapping. On the other hand, the string indicator  (which I have made invisible to mimic the caption) shifts the new lines down which means the new lines are hidden behind the cluster (or in front depending on layering but whichever way unusable). The string indicator however allows for wrapping.

 

Is there a way to incorporate the wrapping functionality into a caption or a way to shift the text upwards in a string indicator?  

 

Cheers in advance

 

Mitch


Viewing all articles
Browse latest Browse all 68973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>