-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.15.7, 6.4.2
-
None
May be a duplicate of: https://bugreports.qt.io/browse/QTBUG-45577
QPushButton pushBtn;
pushBtn.setFixedHeight(100);
pushBtn.setFixedWidth(100);
pushBtn.setStyleSheet(R"(
QPushButton {
color: "white";
border: 10px solid rgba(255, 255, 255, 0.3);
border-radius: 50px;
background: "black";
padding: 5px;
}
)");
Result:

Replacing:
With:
pen.setCapStyle(Qt::FlatCap);
Fixes the issue as it stops the overlapping, but not sure of the side effects, the comment implies that it was there for a reason.
Thoughts?
- duplicates
-
QTBUG-45577 Stylesheet border does not render correctly
-
- Reported
-