Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QPushButton smooth vertices
Tikani last edited by Tikani
I have QPushButtons in my application and I applied a stylesheet to make a custom appearance. But on my monitor (15 inches, 1366x768 resolution) the result looks poorly on the vertices.
border-radius: 10px;, artifacts, which look like blured stair-step "dirt" on vertices, appeared. So, I need to make it smooth. Any ideas how to achieve this?
Thanks in advance.
P.S. Sorry, if you can't see these artifacts clearly on the attached image - I took the screenshot with standard PrintScreen and saved in PNG in Paint. Maybe it compressed the image by itself, maybe
postimage.orgcompresses images on upload.
Do you mean the round edges ?`
Unless they are not antialiased for some reason, i doubt there is much you can do to make them look smoother.
how does this look on same monitor ?
Tikani last edited by
your image is displayed without any artifacts and yes, English isn't my native language, so I meant "edges" :D
ok, its antialiased. (the circle)
Does the "pushbutton" also look ok?
Could try to look at your buttons borders with
(if mingw compiler, its other folder)
My best guess its either not antialiased or the effect is not good due
to transparency or other reasons.