Skip to content

Commit

Permalink
Merge pull request #6764 from cb1kenobi/timob-18188_4_0_X
Browse files Browse the repository at this point in the history
[TIMOB-18188] Fixed support for ellipsis-enabled labels.
  • Loading branch information
feons committed Apr 10, 2015
2 parents 63f3bc8 + 02c103a commit 9f734f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mobileweb/titanium/Ti/UI/Label.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ define(['Ti/_/declare', 'Ti/_/UI/FontWidget', 'Ti/_/dom', 'Ti/_/css', 'Ti/_/styl
properties: {
ellipsize: {
set: function(value) {
setStyle(this._textContainerDomNode,'textOverflow', !!value ? 'ellipsis' : 'clip');
setStyle(this._textContainerDomNode, 'textOverflow', !!value ? 'ellipsis' : 'clip');
setStyle(this._textContainerDomNode, 'overflow', !!value ? 'hidden' : 'visible');
return value;
},
value: true
Expand Down

0 comments on commit 9f734f5

Please sign in to comment.