Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8832] BlackBerry: Implement important ScrollView functionality

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-03-19T17:50:08.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 06 BB, 2013 Sprint 06
ComponentsBlackBerry
Labelsnotable
ReporterFrancois Boisvert
AssigneePedro Enrique
Created2012-04-20T11:28:41.000+0000
Updated2017-03-08T18:19:50.000+0000

Description

As a developer, I want a view that provides a viewport of a content view that can be scrolled using gestures both horizontally and vertically. The existing Titanium API for this feature is Ti.UI.ScrollView. Cascades does provide a control (ScrollView) which should meet the requirements for this view.

Comments

  1. Tatyana Petrenko 2012-05-24

    sz: ScrollMode/ScrollPosition and ScrollView coming later
  2. Pedro Enrique 2013-03-13

    Pull request: https://github.com/appcelerator/titanium_mobile_blackberry/pull/24 Scrollview properties as of the PR: - contentWidth - contentHeight - layout
  3. Pedro Enrique 2013-03-20

    Test case:
       var win = Titanium.UI.createWindow();
       
       var scroll = Ti.UI.createScrollView({
           backgroundColor: '#ccc',
           width: 200,
           height: 300,
           layout: 'vertical',
           contentHeight: Ti.UI.SIZE,
           contentWidth: Ti.UI.FILL
       });
       
       function MyButton(title) {
           return Ti.UI.createButton({
               title: title,
               top: 10
           });
       }
       
       for(var i = 0; i < 100; i++) {
           scroll.add(MyButton('Button #' + (i + 1))); 
       }
       
       win.add(scroll);
       win.open();
       
  4. Lee Morris 2017-03-08

    Closing ticket as resolved.

JSON Source