qtawesome
qtawesome copied to clipboard
Use thicker stroker / color for QIcon border
Curious what the easiest way to create myQIcon
with a separate border-color and thickness? It appears that using the color
attribute changes both. Is appears this is possible in the C++ library by defining a custom painter? Any plans to port this feature?
Any plans to port this feature?
No, but pull requests to do it are welcome.
Happy to put in a PR to add border-color
, border-width
options. Getting stuck because it looks like QPainter
disregards the .brush
and draws everything with the .pen
because it thinks it is a font. Any advice?
I haven't used QPainter that much, so I don't have much advice to offer, sorry.