Hi I observed that if you set the textAlign property as right or center to the UITextField and if the UItextField is multiline, few of the extreme right charecters in the line get cut.
Run following code to get the issue I'm talking about. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreate()"> <mx:Script> <![CDATA[ import mx.core.UITextField; private var tf1:UITextField; [Embed(systemFont="Verdana", fontName='Verdana', mimeType='application/x-font')] public var verdanaFont:Class; [Embed(systemFont="Verdana", fontName='Verdana', fontWeight="bold", mimeType='application/x-font')] public var verdanabFont:Class; [Embed(systemFont="Verdana", fontName='Verdana', fontStyle="italic", mimeType='application/x-font')] public var verdanaiFont:Class; [Embed(systemFont="Verdana", fontName='Verdana', fontWeight="bold", fontStyle="italic", mimeType='application/x-font')] public var verdanabiFont:Class; private function onCreate():void { tf1 = new UITextField(); addChild(tf1); tf1.multiline = true; tf1.wordWrap = true; tf1.border = true tf1.mouseWheelEnabled = false; tf1.ignorePadding = false; tf1.x = 100 tf1.selectable = true; tf1.width = 220 tf1.htmlText = "nnnn nnnnnn nnnnn nnnnnnnn nnnnn nnnnnnnn nnnnn nnnn dfw sdf gsd fg dsfg dsf sfa dsf gsd fg sdfg sdfg sdfg sdfg sdf gsd fg sdfg sgh dffgh dfgh dfgh dfgh sd sdf gsdf gsd fg sdfg sdfg sdf gsdfg sdf gsdf end" tf1.embedFonts = true; var txtFormat:TextFormat = new TextFormat(); txtFormat.leftMargin = 20; txtFormat.size = 15; txtFormat.align = "right" tf1.setTextFormat(txtFormat); tf1.height = tf1.textHeight; } ]]> </mx:Script> </mx:Application> You will notice that the character w of the word dfw is getting cut. Any idea, why this must be happening? Thanks in advance -- Mahesh Kokadwar -- 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.

