Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1802

Padding for a whole panel container?

$
0
0
I'm playing around with Arctic: Zephyr right now to learn how skins in Kodi work and I have a little problem.

I created a panel container for a view - the elements of the container (images) have a 5px padding on each side. Each element also has a shadow behind the image - which should be bigger than the image + 5px. My problem is that the container doesn't have enough space on the left and on the top to display the shadows correctly - they get cut off. I don't want to have more padding between the single elements.

screenshot - cut off
screenshot - how it should look (focused one in the middle - IT Crowd)

How can I create some kind of padding on the left and on the top to the whole grid so the shadows have enough space on each side?

Viewing all articles
Browse latest Browse all 1802

Trending Articles