Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
4.4.0, 4.8.3, 5.4.0 Beta
Description
Using the following style sheet on a QFrame, please compare the left border linear gradient color to the right control border:
QFrame { border-bottom-left-radius:50px; border-top-left-radius:50px; border-width: 20px; border-style: solid; border-top-color: red; border-left-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 red, stop: 1 green); border-right-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 red, stop: 1 green); border-bottom-color: green; }
Calculations for the qlineargradient seem to be wrong when using a radius on the border.