Reputation: 3738
How to make textfields in Titanium with centered text? Is it possible using Android?
Upvotes: 0
Views: 1446
Reputation: 1012
Have you tried textAlign:'center'
property in the constructor/createTextField. I know this isn't in their API docs but it might just work this bug report seems to say that the property should have been added. (at least in the latest RC 1.7.0) it is how ever not in the API docs but this might have simply been an omission.
Give it a try comment if it works or doesn't if it does then maybe you should ping them to update the docs
Upvotes: 2