How to add padding to the text inside nodes?

33 views Asked by At

Does MSAGL (Microsoft automatic graph layout) have functionality for padding? All the text on the nodes are hugging the corners/boundaries of the nodes.

I tried adding spaces to the left and right sides of the text, but it only works on the left side and not on the right.

    string paddedLabel = "   " + uri.Host + "   "; // spaces for horizontal padding
    msaglNode.LabelText = paddedLabel;
0

There are 0 answers