List Component - Auto-Adjust Horizontal Scroll

I am trying to implement an auto adjust horizontal scroll in a list that changes based on the users choices…

I am currently adjusting the hscroll by checking the length of the string that makes up the label…this however doesn’t give me an accurate measurement when it comes to lower case and upper case letters…because two strings may be the same length but visually appear quite different in length…

each of the following strings has 10 characters

1234567890
HHHHHHHHHH
hhhhhhhhhh

So this is not a good way of doing this since the lower case strings fit in the list but yet are longer than my max char length and therefore enable the horizontal scroll…

Is there any way to get the width of the label or the pixel width of a string?