You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "ccking (JIRA)" <ji...@apache.org> on 2014/12/15 04:20:13 UTC
[jira] [Comment Edited] (FLEX-34658) ToggleSwitch display error
[ https://issues.apache.org/jira/browse/FLEX-34658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246274#comment-14246274 ]
ccking edited comment on FLEX-34658 at 12/15/14 3:19 AM:
---------------------------------------------------------
In the ViewNavigator or View with cacheAsBitmap= "true" cacheAsBitmapMatrix= "Matrix ({new)}", the size of the drawMask is correct, but on the phone display error. As shown in code can test.
runtimeDPI 240 , applicationDPI 160\320\480
was (Author: mellowc):
In the ViewNavigator or View with cacheAsBitmap= "true" cacheAsBitmapMatrix= "Matrix ({new)}", the size of the drawMask is correct, but on the phone display error. As shown in code can test.
> ToggleSwitch display error
> --------------------------
>
> Key: FLEX-34658
> URL: https://issues.apache.org/jira/browse/FLEX-34658
> Project: Apache Flex
> Issue Type: Bug
> Components: .Unspecified - Mobile, Mobile: ToggleSwitch
> Affects Versions: Apache Flex 4.13.0
> Environment: android 4.04 480*800 240dpi
> Reporter: ccking
> Fix For: Apache Flex 4.13.0
>
>
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:local="*"
> applicationDPI="480">
>
> <s:TabbedViewNavigator width="100%" height="100%">
> <local:VM/>
> </s:TabbedViewNavigator>
> </s:Application>
> VM.MXML
> <?xml version="1.0" encoding="utf-8"?>
> <s:ViewNavigator xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark" width="100%" height="100%"
> firstView="view" cacheAsBitmap="true" cacheAsBitmapMatrix="{new Matrix()}">
>
> </s:ViewNavigator>
> view.mxml
> <?xml version="1.0" encoding="utf-8"?>
> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark" title="view" cacheAsBitmap="true" cacheAsBitmapMatrix="{new Matrix()}">
>
> <s:ToggleSwitch/>
> </s:View>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)