scroll - Titanium SDK: JavaScript -> Scrolling feature does not work -


Trying to scroll my window so that users can scroll down and view all the contents of the window.

  var eventsWin = Titanium.UI.createWindow ({title: 'more events', layout: 'vertical', scrolling enabled: true, background color: '#fff'});  

Checked the Appcelerator docs and could not find anything useful.

Anyone know how to scroll a window ??

What do you need to do is use a ScrollView (use Ti.UI.createScrollView) in your window Add and add that element to ScrollView. There is no 'scrollable' property in a window, but there is a ScrollView

The document for the ScrollView object is here:


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -