Right padding to panel

Sooo… what kind of a magic trick do I need to do to add a right padding to a panel?

Does the trick:

padding: new go.Margin(0, 10, 0, 0)

The arguments are in the same order as the CSS margin and padding properties.

Yes, the order wasn’t the problem but assigning new go.Margin to padding property was.