Hi Neethu, There are two ways in which you could address this issue. 1) use the truncateToFit property in label. This will just cut the text and add " ..." at the end. And when u hover the mouse over the text you will be able to see a tooltip.
2) Use <mx:Text> instead of label. This will increase the height automatically and fit in the text inside the grid item. Hope it helps. Thanks, Saagar Shetty. On Thu, Apr 22, 2010 at 4:38 PM, neethu n <[email protected]> wrote: > Hi All, > My problem is to show label with id 'abc' in multiple lines in the same > grid item. > > <mx:Grid x="317" y="202" width="539"> > <mx:GridRow width="100%" height="100%"> > <mx:GridItem width="50%" height="100%"> > <mx:Label id="abc" text="If the text is too big to fit in > the grid item then it should be displayed in greater then line else normally > " /> > </mx:GridItem> > <mx:GridItem width="50%" height="100%"> > <mx:Label id="ok" text="nothing " /> > </mx:GridItem> > </mx:GridRow> > </mx:Grid> > > Any one pleease help me. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

