LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get table label width ?

Solved!
Go to solution
Solution
Accepted by topic author Petri

You're setting the height of each row (and by the way, here too you will need to take into account the scroll bar and the frame, rather than hardcoding '35'), but three of the four rows are not adjusting to the new height because you have them set to VAL_SIZE_TO_CELL_FONT in the UI Editor. You need to set them to VAL_USE_EXPLICIT_SIZE instead, as you are doing for the columns.

The reason the second row does adjust to your desired height is because it is set to VAL_SIZE_TO_CELL_IMAGE, and whenever a row doesn't have any picture cells (i.e. images) then it behaves as if it were set to VAL_USE_EXPLICIT_SIZE. You really should set all four to VAL_USE_EXPLICIT_SIZE.

 

Luis

0 Kudos
Message 11 of 12
(983 Views)

 

Thanks Luis for your prompt response.

 

best regards,

petri

 

0 Kudos
Message 12 of 12
(971 Views)