Skip to content
Snippets Groups Projects
Commit 7521a694 authored by andrey.daragan's avatar andrey.daragan
Browse files

Merge branch 'bugs-3284' into 'develop'

bugs-3284

See merge request !42
parents 276e275e 6b113783
No related branches found
No related tags found
4 merge requests!49Develop,!45Develop,!43Develop,!42bugs-3284
...@@ -23,8 +23,8 @@ DapTextForm ...@@ -23,8 +23,8 @@ DapTextForm
case Text.ElideRight: case Text.ElideRight:
elText = textMetric.elidedText.substring(0, textMetric.elidedText.length - 1) + elText = textMetric.elidedText.substring(0, textMetric.elidedText.length - 1) +
((fontMetric.tightBoundingRect(textMetric.elidedText.substring(0, textMetric.elidedText.length - 1)).width + ((fontMetric.tightBoundingRect(textMetric.elidedText.substring(0, textMetric.elidedText.length - 1)).width +
fontMetric.tightBoundingRect(textMetric.text.charAt(textMetric.elidedText.length - 1) + '..').width) < textMetric.elideWidth ? fontMetric.tightBoundingRect(textMetric.text.charAt(textMetric.elidedText.length - 1) + '..').width) < elText.elideWidth ?
(textMetric.text.charAt(textMetric.elidedText.length - 1) + '..'): (textMetric.text.charAt(textMetric.elidedText.length - 3) + '..'):
'..'); '..');
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment