Re: [FlexJS] white-space: nowrap in containers

2017-03-01 Thread Justin Mclean
Hi, > Yes. To force a Label to be single line. I guess that makes sense when you have MultiLineLabel. So should it ignore ’s in html=“…….” then? > If you want the text to wrap, use MultiLineLabel. The header docs for MultiLineLabel could do with an update I think, other than it name it’s hard

Re: [FlexJS] white-space: nowrap in containers

2017-03-01 Thread Harbs
Yes. To force a Label to be single line. If you want the text to wrap, use MultiLineLabel. > On Mar 2, 2017, at 2:54 AM, jus...@classsoftware.com wrote: > > Hi, > > Actually white-space: nowrap is on the Label not the Container but the > question is still anyone know why that was added? > > T

Re: [FlexJS] white-space: nowrap in containers

2017-03-01 Thread justin
Hi, Actually white-space: nowrap is on the Label not the Container but the question is still anyone know why that was added? Thanks, Justin

[FlexJS] white-space: nowrap in containers

2017-03-01 Thread Justin Mclean
Hi, Any reason container adds white-space: nowrap to the innermost generated span? This means any text wider than the container will overflow over the RHS rather than wrap as expected. AFAICK there no easy way to change the white-space property of the constructed divs. Am I missing a bead or o