Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19908

iOS: Ti.UI.ScrollableView was not shown

    Details

    • Story Points:
      3
    • Sprint:
      2015 Sprint 24 SDK, 2015 Sprint 25 SDK, 2016 Sprint 07 SDK

      Description

      In use-autolayout enabled and specification the width/height properties.

      Test case.

      tiapp.xml

      <ios>
        <use-autolayout>true</use-autolayout>
      </ios>
      

      app.js

      var win = Ti.UI.createWindow(),
        view0 = Ti.UI.createView({
          backgroundColor: 'red'
        }),
        view1 = Ti.UI.createView({
          backgroundColor: 'green'
        }),
        view2 = Ti.UI.createView({
          backgroundColor: 'blue'
        }),
        scrollableview = Ti.UI.createScrollableView({
          width: 200, // not the Ti.UI.FILL or SIZE
          height: 200, // not the Ti.UI.FILL or SIZE
          views: [
            view0,
            view1,
            view2
          ]
        });
       
      win.add(scrollableview);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cng Chee Kiat Ng (Inactive)
                Reporter:
                k0sukey Kosuke Isobe
                Reviewer:
                Hans Knöchel
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20632
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration