How to increase the size of shape

Hi,
I am having a node with the shape “Document” as shown below:

and the nodetemplate is written as:

can u please suggest how can I set the size of the shape so that the node looks like as shown below I mean how can I increase the size of the shape or Textblock:

It’s hard to read your code because the indentation is all wrong.

I think you just need to set the margin on your Horizontal Panel.

By the way, “touchPointId” is not a property of TextBlock, so that Binding will have no effect other than maybe producing warnings in the console.

okay thank you for the suggestion will change it