Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

Automatically adjust table width

by Member BROhan ‎02-16-2011 04:22 PM - edited ‎01-30-2017 08:44 AM


This VI allows the user to input text. Normally, you would need to manually adjust the cell widths. However, with this VI, the cell widths are automatically adjusted based on the text rectangle and "fudge" factor.



Member GriffinRU

I haven't had a chance to load vi itself, do not have 2010 at home yet.

But, it would work better if you calculate text rectangle also based on font type, size and style. And adjust cell width after entire row filled to maximum width, in case cell's data is wider than header.