Qt 6.11 is out! See what's new in the release
blog
RoundButton with GlowEffect
-
Does anybody know how to glow RoundButton according with contour?
I try to add glow effect to RoundButton like this:RoundButton { id:io text:qsTr("OUT1") checkable: true icon.height: Constants.fontL icon.width: Constants.fontL font.pixelSize: Constants.fontL width:200 height:200 layer.enabled: io.checked layer.effect: Glow { samples:10 radius:8 spread:0.5 color: Material.accent transparentBorder: true } }
The glow effect spreads rectangle.
But I need the button glows according with button contour. Like this:
-
Y ynatynat has marked this topic as solved on
-
Y ynatynat has marked this topic as unsolved on