Titanium.UI.TextField.backgroundRepeat

Property of Titanium.UI.TextField. Inherited from Titanium.UI.View.
Platform Since
iPhone 0.8
iPad 0.8
Permission: read-write

Summary

Toggle for whether or not to tile a background across a view.

Type

Boolean

Description

Setting this to true makes the set backgroundImage repeat across the view as a series of tiles. The tiling is begins in the upper-left corner, where the upper-left corner of the background image is rendered. The image is then tiled to fill the available space of the view.

Note that setting this to true may incur performance penalties for large views or background images, as the tiling must be redone whenever a view is resized.

The following views do not currently support tiled backgrounds: Titanium.UI.Button Titanium.UI.TextField * Titanium.UI.Label