Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7
-
None
Description
It seems the Fusion style for the styled panel variant of the QFrame shape draws the frame with some offset (perhaps not pixel-aligned?).
When running attached sample program which renders the QFrame's content rect (yellow) and frame rect (red) properties by dashed lines in an overlay, with the QFrame widget itself having a white background, being inside a blue container widget, one can see how on the right and the bottom there is space between the frame and the widget edge, while on the left and the top only half of the line is drawn (best seen in top-right or bottom-left corners):
Build attached sample program with cmake . && make
, then run QT_SCALE_FACTOR=8 ./qframeoverlay -style fusion.
Try no factor or different styles for comparison (the overlay should be correct ).