Skip to content

Instantly share code, notes, and snippets.

@stevenscg
Last active December 16, 2015 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenscg/5438481 to your computer and use it in GitHub Desktop.
Save stevenscg/5438481 to your computer and use it in GitHub Desktop.
Alloy 1.1.1 style merge/override issue Create a new Titanium mobile app with SDK 3.1.0.GA and Alloy 1.1.1. Update or create the files below and build for iphone 6.1. If "TextArea" is defined in app.tss, some or all of app.tss is skipped. "TextArea" was fine for Alloy 1.0.0 and 1.1.0.
Window: {
barColor: '#000',
barImage: 'header.png',
backgroundColor: "#fff"
},
TextArea: {
autocapitalization: Ti.UI.TEXT_AUTOCAPITALIZATION_NONE,
autocorrect: false
},
Label: {
color:'#000',
height:Ti.UI.SIZE,
width:Ti.UI.SIZE,
backgroundColor: 'gray'
},
'.container': {
backgroundColor: '#fff'
},
'.darkContainer': {
backgroundColor: '#313131'
}
function doClick(e) {
alert($.label.text);
}
$.index.open();
".container": {
backgroundColor: "#313131"
},
Label: {
font: {
fontSize: "24dp"
},
width: Ti.UI.FILL,
color: 'red'
}
<Alloy>
<Window class="container">
<Label id="label" onClick="doClick">Hello, World</Label>
</Window>
</Alloy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment