Android Question B4Xtable col width auto adjust

Mostez

Well-Known Member
Licensed User
Longtime User
I want to auto adjust col width in B4Xtable to fit cell contents or col name whichever wider, how to do that?
TIA
 
 
Upvote 0
B4A underlined this line with an error label 'Unknown member: measuretext '
B4A version: 10.50
B4X: Copy
MaxWidth = Max(MaxWidth, cvs.MeasureText(txt, lbl.Font).Width + 10dip)
 
Upvote 0
Back
Top