Thank you, but that one is font size.
My problem is calculate gadget width (e.g.: Label) based on the text contained inside.
Example:
myLabel = "This is a test"
Now I want to calculate label width based on the pixels used from such text (using a specific font).
Thank you!
My problem is calculate gadget width (e.g.: Label) based on the text contained inside.
Example:
myLabel = "This is a test"
Now I want to calculate label width based on the pixels used from such text (using a specific font).
Thank you!