Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.4.0
-
None
-
Qt5.4.0 64bit on 64 bit Win7
Description
I have a QFrame that is used as a drop-down panel, and which has the Qt::Popup flag set. When setting a border-radius, the background is not clipped properly.
The stylesheet:
QFrame
The attachment shows the bottom corners. I also tried setting `border-radius: 5px` to set a radius on all corners. Then the bottom corners look the same, and the top corners look as shown in the attachments. It seems the top right corner is the only location where an actual rounded border is drawn, allthough still the background is not clipped.
When using rounded borders on 'normal' widgets in the UI, everything is oke. It is only on this frame, that has the Qt::Popup flag set, and which is continuously hidden and shown, where the problem occurs.