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

Android: Ti.UI.Label.wordWrap should default to true, but is undefined

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.0.0
    • Component/s: Android
    • Labels:
    • Story Points:
      2
    • Sprint:
      2016 Sprint 17 SDK

      Description

      it('wordWrap', function () {
      		var label = Ti.UI.createLabel({
      			text: 'this is some text'
      		});
      		should(label.wordWrap).be.a.Boolean; // undefined on Android
      		should(label.getWordWrap).be.a.Function;
      		should(label.wordWrap).eql(true);
      		should(label.getWordWrap()).eql(true);
      		label.wordWrap = false;
      		should(label.getWordWrap()).eql(false);
      		should(label.wordWrap).eql(false);
      	});
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cng Chee Kiat Ng (Inactive)
                Reporter:
                cwilliams Christopher Williams
                Reviewer:
                Ashraf Abu (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code