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

Windows: Label with both left and right in ScrollView always shows scroll bar

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.3.0
    • Fix Version/s: Release 5.3.0
    • Component/s: Windows
    • Labels:
    • Story Points:
      8
    • Sprint:
      2016 Sprint 10 SDK

      Description

      Label with both left and right specified in ScrollView always shows horizontal scroll bar.

      *Expected*

      Following example should not show horizontal scroll bar.

      var win = Ti.UI.createWindow({ backgroundColor: 'green' });
       
      var scrollView = Ti.UI.createScrollView({
          layout: "vertical",
          top: 0,
      });
       
      var view = Ti.UI.createView({
          backgroundColor: 'yellow',
          layout: "horizontal",
          top: 10,
          left: 10,
          height: Ti.UI.SIZE,
          width: Ti.UI.SIZE,
      });
       
      var label = Ti.UI.createLabel({
          left: 10,
          right: 10,
          color: "blue",
          text: "this is test text"
      });
       
      view.add(label);
       
      scrollView.add(view);
      win.add(scrollView);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                htbryant Harry Bryant
                Reporter:
                kiguchi Kota Iguchi
                Tester:
                Josh Longton
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code