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

Windows : Ti.UI.TextArea is not wrapped when there is long text, it just show in single line

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 7.1.0
    • Fix Version/s: Release 7.5.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:
    • Story Points:
      8
    • Sprint:
      2018 Sprint 15 SDK, 2018 Sprint 19 SDK, 2018 Sprint 20 SDK

      Description

      Hello !
      Ti.UI.createTextArea is not wrapped when there is long text, it just show in single line in windows phone. But it wrapped in android.
      Teste code :

      Ti.UI.setBackgroundColor('white');
       
      var controlsHeight = 38 * Ti.App.MultiplyFactor;
       
      var win = Ti.UI.createWindow({
       
      backgroundColor : 'white',
      exitOnClose : true,
      fullscreen : false
       
      });
       
       
       
      var textArea = Ti.UI.createTextArea({
       
      width : Ti.UI.FILL,
      backgroundColor : 'white',
      color : 'black',
      left : 40,
      right : 40,
      hintText : 'this is a long hint that is not wrapping in windows version. Not sure what is the problem. All text show in single line instead of multi line. please check'
       
      });
       
      textArea.value = 'this is a long hint that is not wrapping in windows version. Not sure what is the problem. All text show in single line instead of multi line. please check';
       
      win.add(textArea);
       
      win.open();
      
      

      Test Environment:

      Operating System
        Name                        = Microsoft Windows 10 Pro
        Version                     = 10.0.16299
        Architecture                = 32bit
        # CPUs                      = 4
        Memory                      = 17091956736
      Node.js
        Node.js Version             = 8.9.1
        npm Version                 = 5.5.1
      Titanium CLI
        CLI Version                 = 5.0.14
      Titanium SDK
        SDK Version                 = 7.1.0.GA
        SDK Path                    = C:\ProgramData\Titanium\mobilesdk\win32\7.1.0.GA
        Target Platform             = windows
      

      Please take a look on attached screenshot.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                aislam Aminul Islam
                Reviewer:
                Gary Mathews
                Tester:
                Keerthi Mahalingam
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code