[TIMOB-20455] Alloy: Classes in app.tss not working with $.UI.create() when a baseController is set but no tss or xml file
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Christy Thomas |
Assignee | Unknown |
Created | 2016-02-19T18:38:45.000+0000 |
Updated | 2018-02-28T19:55:27.000+0000 |
Description
I have a derived controller that has exports.baseController set. I also don't have an xml and tss file as it is using the base controllers. In the derived controller I am trying to add a new component (button) with $.UI.create('Button', { classes: 'primary_button'}) and the classes from my app.tss file are not being used. The class gets used from the base controller and in other locations.
Use attached zip file for the code to reproduce this problem.
Attachments
I have attached a screenshot of what the app.zip code looks like when run. The Derived button is not using the 'primary_button' class.