
diagram.model.nodeDataArray = [{ t1: "Top", t2: "Bottom"}];
</code></pre>
<script>goCode("sixth", 500, 140)</script>
<p>
  Because by default elements are centered within the cells of a Table Panel, no stretching of the TextBlocks is needed.
  (You could change that by setting <a>Panel.defaultAlignment</a> or <a>Panel.defaultStretch</a>.)
</p>

<p>
  Are we all done?  Maybe.  What happens when the text changes size?
  One way to test that is to create a bunch of nodes using different model data, using shor