Hi,
If at Runtime you want to set the length of a label, to cover exactly the text content, how do you calculate the width of that label?
E.g., if your label text is "B4J label", which consists of 9 characters, and you're using Times New Roman 14, and you want no padding on that label, how do we compute the length?
If at Runtime you want to set the length of a label, to cover exactly the text content, how do you calculate the width of that label?
E.g., if your label text is "B4J label", which consists of 9 characters, and you're using Times New Roman 14, and you want no padding on that label, how do we compute the length?