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

Windows: ScrollView does not expand with Ti.UI.SIZE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 7.5.0
    • Fix Version/s: Release 7.5.0
    • Component/s: Windows
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2018 Sprint 23

      Description

      ScrollView does not expand its size along with child content when Ti.UI.SIZE is specified.

      var scrollView = Ti.UI.createScrollView({
          height: Ti.UI.SIZE,
          width: Ti.UI.SIZE,
          scrollType: 'vertical',
          layout: 'vertical',
          backgroundColor: 'red'
      });
       
      var view1 = Ti.UI.createView({
              width: '100',
              height: '50',
              backgroundColor: 'pink'
      });
       
      var view2 = Ti.UI.createView({
          width: '200',
          height: '100',
          backgroundColor: 'green'
      });
       
      scrollView.add(view1);
      scrollView.add(view2);
       
      var win = Ti.UI.createWindow({
          backgroundColor: 'white',
      });
      win.add(scrollView);
      win.open();
      

      Expected:

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                kiguchi Kota Iguchi
                Reviewer:
                Gary Mathews
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code