LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree Control Column Auto Resize

Hi,

 

I am using touch screen and normal screen and I programatically change depending on the tree control font size. If item name is too long then control is not showing complete name. Are there any way to change the first column size programatically during run time based on item name size?
 
I am using LV2015 🙂

Thanks,
I. Attila
0 Kudos
Message 1 of 3
(3,602 Views)

In most cases I just make the first column extrememly long, like longer than any text I plan on having.  Besides doing that you can inspect what is in each row and what indent it is at, and then set the width to that size using the property node.

 

here are a couple of links.

 

https://decibel.ni.com/content/docs/DOC-6521

http://digital.ni.com/public.nsf/allkb/69BD25A34A2D3199862572B1006B7B31

0 Kudos
Message 2 of 3
(3,572 Views)

Hi Hooovahh,

 

Thanks for your response. Try it you sent.

 

 

0 Kudos
Message 3 of 3
(3,533 Views)