QPushButton smooth vertices
-
Hi!
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.
Because ofborder-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, maybepostimage.org
compresses images on upload. -
Hi
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 ?
-
ok, its antialiased. (the circle)
Does the "pushbutton" also look ok?Could try to look at your buttons borders with
"C:\Qt\5.9.1\msvc2015_64\bin\pixeltool.exe"
(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.