Preventing an image from overlapping its parents corners
Good day fellow programmers,
we need your help designing our awesome new software.
The situation: We've designed an item which consists of a rectangle with rounded corners and a small frame.
This items child is an image which is set to fill its parent.
The problem: Since the item has rounded corners but the image doesn't, its corners are overlapping the items frame.
Is there any way to force the image to stay in its parents frame?
Thanks in advance!