[TIMOB-14495] applyProperty vs set individual property inconsistencies on Android
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 3.1.1 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | n/a |
| Reporter | Rick Blalock |
| Assignee | Unknown |
| Created | 2013-07-08T18:20:28.000+0000 |
| Updated | 2018-02-28T20:04:25.000+0000 |
Description
Settings this using applyProperties does not work:
view.applyProperties({
width: App.currentOrientation == "portrait" ? tileWidthPortrait : tileWidthLandscape,
portrait: {
width: tileWidthPortrait
},
landscape: {
width: tileWidthLandscape
}
});
But doing it programmatically does:
tile.portrait = {
width: tileWidthPortrait
};
tile.landscape = {
width: tileWidthLandscape
};
No comments