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

iOS: View is not getting horizontally wrapped properly.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.2.2
    • Fix Version/s: Release 6.1.0
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      Description

      Steps to Reproduce:

      1. Create array of Strings.
      i.e. var stringArray = [ "Appcelerator Studio", " Titanium", .... ];
      2. Create a view with dynamic height and layout as horizontal.
      3. Create a loop with Array length.
      a. Create a view with dynamic width and give "left" property some value in "dp".
      b. Create a label with "wordWrap", "ellipsize" property as false and add "text" property with one string value as per index given in Array.
      c. Add the label in current view.
      d. Add the current view in horizontal view.

      Expected Result :
      Horizontal view should wrap the views inside horizontal view properly without cropping the label.

      Actual Result:
      Horizontal view does not wrap the views inside horizontal view and label gets cropped.

        Attachments

        1. index.js
          0.9 kB
        2. index.tss
          0.2 kB
        3. index.xml
          0.1 kB
        4. Screen Shot 2016-05-14 at 3.37.50 AM.png
          Screen Shot 2016-05-14 at 3.37.50 AM.png
          15 kB
        5. Simulator Screen Shot 13-May-2016, 10.41.07 AM.png
          Simulator Screen Shot 13-May-2016, 10.41.07 AM.png
          53 kB

          Issue Links

            Activity

              People

              • Assignee:
                vijaysingh Vijay Singh
                Reporter:
                nikeshmahajan Nikesh Vasant Mahajan
                Reviewer:
                Hans Knöchel
                Tester:
                Harry Bryant
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration