[ 
https://issues.apache.org/jira/browse/FLEX-34633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ad Pijnenburg updated FLEX-34633:
---------------------------------
    Attachment: Nexus5_TextInput_DateTimeButtons.png
                TextInputFocusIn.png

Hi Om,

I have been trying out several of the new Android4 skins (many thanks for all 
the good work!). When using the StageTextInputSkin with style 
contentBackgroundBorder set to "flat", I noticed that a text input field, when 
receiving focus, seemingly changed its contentBackgroundBorder style to "flat" 
plus "rectangle" (see attached PNG TextInputFocusIn). Is this intended 
behaviour, or did I miss some StageTextInputSkin style property settings needed 
to make things work? I would rather have the focus in event cause only the 
border color to change, and not the border style as well.

Another question: in the attached PNG Nexus5_TextInput_DateTimeButtons showing 
the Google Android 4.4 Calendar app, the date / time buttons are displayed 
transparent with a bottom border including a small triangle at the bottom 
right. Is this button appearance implemented in any of the new Android4 skins? 
If not, do you have any plans in that direction?

Apologies if you had rather have me bring these questions to your attention 
through a JIRA ticket. As mentioned above, I wasn't sure I might missed some 
style settings . If you want, I'd be happy to raise new tickets for these two 
skinning issues.

Again, thanks for all your work on these skins!

Best regards,
Ad Pijnenburg

-----Oorspronkelijk bericht-----
Van: OmPrakash Muppirala (JIRA) [mailto:[email protected]] 
Verzonden: donderdag 6 november 2014 2:56
Aan: [email protected]
Onderwerp: [jira] [Resolved] (FLEX-34633) HSlider track (Android4 skin) not 
being filled if thumb position set programmatically


     [ 
https://issues.apache.org/jira/browse/FLEX-34633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

OmPrakash Muppirala resolved FLEX-34633.
----------------------------------------
    Resolution: Fixed

Fixed in http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ffd85a5c

Will be merged into develop branch soon.




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


> 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)

Reply via email to