VI Analyzer Enthusiasts Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Find front panel elements that have "auto grow" enabled.

For testing, I transferred one of my programs to Linux and it was quite a mess, because the fonts were much bigger, causing some tab structures to massively grow underneath other structures because some had still auto-grow enabled by accident. It was quite easy to fix the font issues (select all, "ctrl-minus" a few times) but the tab structures were still interlaced with other front panel objects.

 

Is there a VI analyzer test that can find all structures that have auto-grow enabled (front panel and diagram).

0 Kudos
Message 1 of 2
(906 Views)

I don't see an existing test for this in the Community Tests list. It should be relatively easy to implement. You would need to traverse for the following classes in VI Server and read the corresponding properties:

 

TabControl - Auto Grow?

Structure - AutoSize To Fit Contents?

FlatSequence - AutoSize To Fit Contents?

 

I guess you could make a case that Clusters have "auto-grow" functionality. If you want to check for that too, you'd use the Auto Sizing property of the Cluster class.

Message 2 of 2
(890 Views)