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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -