Added margin support

Now it is possible to define the margin to the views.