[TIMOB-12264] CLI: JSS font-* properties do not work with new CLI
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-13T20:06:09.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2013 Sprint 10 JS, 2013 Sprint 10, Release 3.1.1, Release 3.2.0 |
Components | CLI |
Labels | core, qe-closed-3.1.1, regression |
Reporter | Amuktha Akkinepally |
Assignee | Chris Barber |
Created | 2013-01-10T14:40:43.000+0000 |
Updated | 2013-06-01T00:02:48.000+0000 |
Description
In an app with the below app.js and app.jss there is an issue with font size. When trying to change the font size after cleaning it does not work. It stays in a same no matter what size is given as font size. It works fine with Ti SDK 3.0.0 and XCode 4.5.1 but does not work with Ti SDK 3.0.0 and XCode 4.5.2.
Again Ti SDK 2.1.4 and XCode 4.5.2 works as well. Only on the prime combination of 3.0.0 and 4.5.2 does not work.
app.js
var win = Ti.UI.createWindow({
backgroundColor: 'white'
})
var someLabel = Titanium.UI.createLabel({
id: "somelabel-"+Titanium.Platform.osname,
});
win.add(someLabel);
win.open();
app.jss
#somelabel-iphone {
text: 'iphone';
font-size: 40;
color: blue;
}
#somelabel-ipad {
text:'ipad';
font-size: 40;
color:red;
}
Same issue here, same test. tested with version 3.0.2, 3.1.0 all with the same result, attributes font-* doesn't apply to the object.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4255 3.1.x pull request: https://github.com/appcelerator/titanium_mobile/pull/4256
Verified as fixed. Environment: Appcelerator Studio 3.1.1.201305312408 Titanium SDK 3.1.1.v20130531143904 CLI 3.1.1-alpha Alloy 1.1.3-alpha Titanium-Code-Processor 1.1.3-alpha4 Closing.