You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "LOPEZ Sébastien (JIRA)" <ji...@apache.org> on 2014/11/10 11:08:34 UTC

[jira] [Commented] (FLEX-27602) RichEditableText vertical alignment is ignored the control receives focus

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

LOPEZ Sébastien commented on FLEX-27602:
----------------------------------------

The problem is alway on the 4.13.0 SDK.

 The sample reproduce the problem.

> RichEditableText vertical alignment is ignored the control receives focus
> -------------------------------------------------------------------------
>
>                 Key: FLEX-27602
>                 URL: https://issues.apache.org/jira/browse/FLEX-27602
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: RichEditableText
>    Affects Versions: Adobe Flex SDK 4.5 (Release)
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows 7
> Browser: Firefox 3.x
> Language Found: English
>            Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Add a RichEditableText control to a new application
> 2. Set its height to 100%
> 3. Set its verticalAlign to "middle" and run
> 4. Give it some text value
>  
>  Actual Results:
> You will see the text is aligned to the top. But once you click inside the control the text aligns to the middle (as it should).
>  
>  Workaround (if any):
> Only happens to me when height is 100% 
> Here's a complete minimal app that recreates the bug:
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> 			   xmlns:mx="library://ns.adobe.com/flex/mx"
> 			   xmlns:s="library://ns.adobe.com/flex/spark"
> 			   minWidth="636" minHeight="389" width="636" height="389"
> 			   >
> 	<s:RichEditableText id="currentItem"
> 						editable="true"
> 						fontSize="23"
> 						height="100%"
> 						verticalAlign="middle"
> 						enabled="true"
> 						multiline="false"
> 						tabFocusEnabled="false"
> 						text="Aligned to top until clicked"
> 						/>
> </s:Application>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)