Take advantage of the fact that you’ve
already used binding and just put the spaces in the binding _expression_. label=”{‘ ‘ +
itemModel.effectiveDate} Text Specification” From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of shweta_parekh Hi, I have the a canvas like below. In the label of the canvas, I
want to insert white spaces before the effectiveDate value (
{itemModel.effectiveDate} ). <mx:Canvas id="textspec_cn"
width="815" height="99%"
label="{itemModel.effectiveDate} Text Specification" marginLeft="0"
marginRight="0"> …... </mx:Canvas> I tried doing this: label="
{itemModel.effectiveDate} Text Specification" but this does not work, gives an error Putting white spaces before the effective date does not work
either. label="
{itemModel.effectiveDate} Text Specification" //does not work Putting white spaces before Text Specification works OK. label=" Text Specification
{itemModel.effectiveDate}" //works OK Does anyone have any ideas? Thanks. Shweta
|