flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "OmPrakash Muppirala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34633) HSlider track (Android4 skin) not being filled if thumb position set programmatically
Date Tue, 18 Nov 2014 22:30:35 GMT

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

OmPrakash Muppirala commented on FLEX-34633:
--------------------------------------------

I just noticed this comment.  

Please open new tickets for the issues you mentioned.  It will be easier to track the issues.

Thanks for the nice words and for reporting the bugs!

> HSlider track (Android4 skin) not being filled if thumb position set programmatically
> -------------------------------------------------------------------------------------
>
>                 Key: FLEX-34633
>                 URL: https://issues.apache.org/jira/browse/FLEX-34633
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mobile: HSlider
>    Affects Versions: Apache Flex 4.14.0
>         Environment: Windows 7 / Flash Builder 4.7
>            Reporter: Ad Pijnenburg
>            Assignee: OmPrakash Muppirala
>            Priority: Minor
>         Attachments: Nexus5_TextInput_DateTimeButtons.png, TextInputFocusIn.png
>
>
> The Android4 HSliderSkin causes the slider track not being filled up to the thumb's position
if the slider's thumb is positioned programmatically, i.e. positioned not by user interaction
but by setting the value property of the HSlider's instance in code.
> Quick fix by adding the following code lines to the set hostComponent function in HSliderSkin.as:
> if (_hostComponent) _hostComponent.removeEventListener(FlexEvent.VALUE_COMMIT, thumbPositionChanged_handler);
> if (_hostComponent) _hostComponent.addEventListener(FlexEvent.VALUE_COMMIT, thumbPositionChanged_handler);



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

Mime
View raw message