I have a TextBlock that is defined like this
$(go.TextBlock, { text: "a Text Block that takes 4 lines",
font: '14pt sans-serif',
background: "lightblue",
overflow: go.TextBlock.OverflowEllipsis,
maxLines: 1,
margin: 2,
width: 90 })
I it works great because it shows the ellipsis when the text is too long
the problem I have is that I want the text size to be dynamic
so instead of writhing width:90 I want to write maxWidth:90
is it possible to achive this?