flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shigeru Nakagaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34033) single-line TextInput keeps a newline when TextInput.text = "abc\n".
Date Fri, 10 Jan 2014 02:06:50 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867426#comment-13867426
] 

Shigeru Nakagaki commented on FLEX-34033:
-----------------------------------------

And OS language is Japanese.
I tried this with AIR 3.9, TextInput still keeps a newline.
I installed Flex SDK by Apache Flex SDK Installer.

> single-line TextInput keeps a newline when TextInput.text = "abc\n".
> --------------------------------------------------------------------
>
>                 Key: FLEX-34033
>                 URL: https://issues.apache.org/jira/browse/FLEX-34033
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: TextInput
>         Environment: Windows 7
>            Reporter: Shigeru Nakagaki
>         Attachments: TextInput_keeps_newline.png, src.zip
>
>
> Is this right?
> <?xml version="1.0" encoding="utf-8"?>
> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
>                        xmlns:s="library://ns.adobe.com/flex/spark" 
>                        xmlns:mx="library://ns.adobe.com/flex/mx">
>   
>   <s:layout>
>     <s:VerticalLayout />
>   </s:layout>
>   
>   <fx:Script>
>     <![CDATA[
>       
>       protected function button1_clickHandler(event:MouseEvent):void
>       {
>         txt.text = "abc\n";
>       }
>       
>     ]]>
>   </fx:Script>
>   
>   <s:TextInput id="txt"/>
>   <s:Button label="set"
>             click="button1_clickHandler(event)"/>
>   
> </s:WindowedApplication>



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message