Prev code
$(
go.TextBlock,
{
maxLines: 1,
overflow: go.TextBlock.OverflowEllipsis,
margin: new go.Margin(8, 14, 8, 14),
}
new go.Binding("text", "title").makeTwoWay(),
)
above code looks like
Now I want to accomodate 2 text with different styles
Current code
$(
go.Panel,
"Horizontal",
{
margin: new go.Margin(8, 14, 8, 14),
},
$( go.TextBlock,
{
font: "1rem"
}
new go.Binding("text", "title").makeTwoWay(),
),
$( go.TextBlock,
{
margin: new go.Margin(0, 0, 0, 6),
font: "0.5rem"
}
new go.Binding("text", "subTitle").makeTwoWay(),
)
)
When i wrap 2 texts in a panel , I want to show ellipsis at the end. how do i show that? overflow isnt working in panel