Hi
Would anybody know why the following code results in the first label being wider than the second one? The first box (shorter text) measures 21 pixels in width, the second box 19 pixels.
<mx:VBox>
<mx:HBox id="lbl1" backgroundColor="#6789ad">
<mx:Label fontWeight="bold" color="white" text="0" />
</mx:HBox>
<mx:HBox id="lbl3" backgroundColor="#6789ad">
<mx:Label fontWeight="bold" color="white" text="12" />
</mx:HBox>
</mx:VBox>
I ran this on Flex 3.4 and Flex 3.5. Same same but different using Flex 4, first box 20 pixels, second 19 again.
Cheers Tom