[TIMOB-25934] Windows: Implement Ti.UI.TextField.hintTextColor
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 7.1.0 |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Kota Iguchi |
Assignee | Kota Iguchi |
Created | 2018-04-05T06:10:05.000+0000 |
Updated | 2019-05-10T01:03:56.000+0000 |
Description
[Ti.UI.TextField.hintTextColor](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TextField-property-hintTextColor) is not implemented on Windows.
Attempt to implement this: https://github.com/appcelerator/titanium_mobile_windows/pull/1274 {quote} Because Windows TextBox component does not expose any properties to change hint text color, I ended up traversing visual component trees by using VisualTreeHelper and tries to change its color directly by code. Unfortunately this does not work well, for some reason hint text color resets to default when text field looses focus. I tried to reset the color by checking focus state but it caused UI blinking, seems like it causes conflict between native hint text color. {quote}