Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

Automatically adjust table width

by BROhan on ‎02-16-2011 04:22 PM

Introduction

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.

FP.jpg

BD.jpg

Comments
GriffinRU
N/A

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.