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

MobileWeb: Ellipsize not adding ellipsis to text

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.4.0, Release 3.4.1
    • Fix Version/s: Release 4.1.0
    • Component/s: MobileWeb
    • Labels:
      None
    • Environment:

      Firefox 33.1
      Android Browser running on Android 4.4.4

    • Sprint:
      2015 Sprint 07 SDK

      Description

      Problem Description

      When using ellipsize on a label in mobileweb the text is truncated but the ellipsis is not added.

      Test Case

      Run attached app.js or paste following code into app.js:

      app.js

      var win1 = Titanium.UI.createWindow({  
          backgroundColor:'#fff'
      });
       
      win1.add(Ti.UI.createLabel({
      	top: 200,
      	width: "40%",
      	text: "Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits. Dramatically visualize customer directed convergence without revolutionary ROI.",
      	ellipsize: true,
      	wordWrap: false
      }));
       
      win1.open();
      

      Expected results

      Text is truncated and ellipsis added to label.

      Actual results

      Text is truncated no ellipsis added

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              jbuckley Jamie Buckley
              Reviewer:
              Ingo Muschenetz
            • Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code