On 5/2/07, Ian Skinner <[EMAIL PROTECTED]> wrote: > I desire to constrain the text in a label to its width, but I want that > width to be flexible when the browser is resized. When I use a > percentage for the width of the label the text is not constrained, > rather the label and any percentage width parent will expand to display > the full text length. Am I missing something here. > > I have enclosed a small demonstration of this behavior. If you run this > MXML, you will notice that in row2 the labels are constrained to a width > of 150, but of course this width does not adjust if the browser is > resized. In row1, the labels are set to be width of 25%, but the third > label is not constrained, it is stretched to display the entire string > and is no longer 1/4 of the width of the display.
[snip code] As I said in the other thread, set minWidth to 0. Setting minWidth to 0 in your example fixes the problem.

