Android Question Stringutils error

epiCode

Active Member
Licensed User
I get java.lang.IllegalArgumentException: Layout: -32 < 0 error when trying the following in code

Dim a As Int = s.MeasureMultilineTextHeight( lbaction, lbaction.Text )

lbaction is a label with valid text in it

What am I missing ?
 

epiCode

Active Member
Licensed User
Solved -

Issue was undeclared panel which was returning -32 as width.
Sharing just incase someone else faces the same.
 
Upvote 0
Top