Titanium

[ALOY-989] Custom TSS: issue when using more than one conditional

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-05-01T23:00:07.000+0000
Affected Version/sAlloy 1.4.0
Fix Version/sAlloy 1.4.0
ComponentsStyling
Labelsqe-3.3.0, qe-testadded
ReporterFederico Casali
AssigneeTim Poulsen
Created2014-04-21T23:09:55.000+0000
Updated2014-05-01T23:00:07.000+0000

Description

Comments

  1. Tim Poulsen 2014-04-28 PR: https://github.com/appcelerator/alloy/pull/378 I updated the 871 sample app to hopefully make it a little easier to match the target environment with the styles that get applied. This is how the styles should be applied for the various combinations of environments (only iOS results provided) ||Form factor||Alloy.Globals.foo||Style|| |iphone 4|true|'Alloy.globals.foo is true', fontSize 24, blue| |iphone 4|false|'Handheld and Alloy.Globals.foo false', blue| |iphone 5|true|'Alloy.globals.foo is true', fontSize 24, blue, bg color yellow| |iphone 5|false|'Handheld and Alloy.Globals.foo false', blue, bg color yellow| |tablet|true|'Alloy.Globals.foo is true & this is a table', font: 40dp, bold, green custom font| |tablet|false|'Alloy.globals.foo is false', black, default font size|
  2. Federico Casali 2014-05-01

JSON Source