LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
wiebe@CARYA

(proper) multi line text in picture control

Status: New

Ever needed to draw multi line text in a picture control?

 

Even if you set it to center, the text will still align left. It's just the position of the rect you are specifying. Working around this is really hard. You need to calculate positions, and then also make it work for rotated text. Try it out, it's hours of work.

Does not work.jpg

 

 

 

Now I can almost hear NI say: "but it's a lot of work to make, limitted resources. You almost never need it.". So the good news is, the picture control already supports this. It is just not exposed in the draw text VI's.

 

Here is a working VI, can it please be included in the picture control palette? Or added to the Draw text at point VI?Does work.jpg

3 Comments
AristosQueue (NI)
NI Employee (retired)

Good idea, and low-hanging fruit. I'll flag it for consideration.

Hooovahh
Proven Zealot

Thank you for this.  I couldn't believe that the text didn't have a justification option.

wiebe@CARYA
Knight of NI

Any news on this one?

 

I'm using the VI, but would prefer if it's in the palette.