[ALOY-1193] Alloy: Changing Style in JS doesn't work for dynamically created views
|Labels||alloy, runnable, runtime, style|
DescriptionAlloy: Changing Style in JS doesn't work for dynamically created views Attached the test case to reproduce problem.
Reproduce:1.Run the app device or simulator. (Do no click "Go to Dashboard first") 2.Click the "setNewsGothicSBOP" button to set some Alloy.Global Properties. 3.Click "Go to Dashboard", view the Label style is same. 4.Click "Change", then choose "setCordiaNew" button to re-set those Alloy.Global Properties. 5.Click "Go to Dashboard" again.
Expect Result:All labels should change to apply new style.
Actual Result:Only the labels defined in XML apply the new style, those views(Labels) created in JS did not apply the new style. N.B. Problem occurs in both IOS and Android devices