Advertisement
Guest User

Untitled

a guest
May 3rd, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. "#wrapper": {
  2.  
  3. // Set wrapper to adjust it's size to it's contents
  4. width: Ti.UI.SIZE,
  5. height: Ti.UI.SIZE,
  6.  
  7. // Set stuff like borders and backgrounds on the wrapper
  8. backgroundColor: "red"
  9. }
  10.  
  11. "#content": {
  12.  
  13. // Set content to anything but the default Ti.UI.FILL
  14. // For example a absolute (dp) or relative (%) value
  15. // Or again, set to adjust to it's content (the text)
  16. width: Ti.UI.SIZE,
  17. height: Ti.UI.SIZE,
  18.  
  19. // Set the padding values like so:
  20. top: "10dp", right: "10dp", bottom: "10dp", left: "10dp",
  21.  
  22. // Set stuff like color and font on the content
  23. color: "white"
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement