Padding on a view element
Is there a way to get padding (like CSS padding) on a view element?
Say I want my view to be as long as my content, but it has a bgcolor.
I don't want the text to hug the edges of the coloured box so I want to give it some padding. I need to use flexible height as data is provided dynamically by a database.
Is there any way to achieve this?
Many thanks!