Qt 6.11 is out! See what's new in the release
blog
Preventing an image from overlapping its parents corners
QML and Qt Quick
1
Posts
1
Posters
814
Views
1
Watching
-
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!