The problem is that the Label needs a constrained width in order to know when/where to wrap. BoxPane adjusts to the size of its content, so there is no "constraint" on the size. If in your BoxPane, you would do: preferredWidth="120" (for example) then you should see the Label wrapping. There are other containers that you can also use to constrain the width.

On 9/29/11 8:04 AM, Adarsh Y.V wrote:
hi,
this is wht i tried but text wrap is not working.....any other solutions??

<BoxPane orientation="horizontal" styles="{ padding:{top:0, left:70, bottom:8, right:4}}"> <Label styleName="screenNormalText" text="Required SQL instance is already installed on the machine. Please provide password for 'sa' user to perform database opertations" styles="{wrapText:true}" preferredHeight="20"/>
</BoxPane>

Reply via email to