Android Question ABExtDrawing

Anirban Sen

Member
Licensed User
I am trying customize the treeview. As of now columns in treeview are adjusted as per hardcoded values that are passed on to the module.
Since the values are in dip, I was trying to use GetTextWidths function under ABPaint to get the dip of the longest string in a column. However, I am unable to understand how to use GetTextWidths function as the documentation is not clear about what is to be passed for width().
Can anyone give an example? Or is there a better way of doing what I am trying to achieve?
 
Top