<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[RoundButton with GlowEffect]]></title><description><![CDATA[<p dir="auto">Does anybody know how to glow RoundButton according with contour?<br />
I try to add glow effect to RoundButton like this:</p>
<pre><code>    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

        }

    }
</code></pre>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/647f6a6b-c84f-460e-8df0-132420818668.png" alt="0da545bd-ba48-47cf-8bd0-507e74561084-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The glow effect spreads rectangle.<br />
But I need the button glows according with button contour. Like this:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/a180d93b-68e8-49b5-a09c-0a50f0334102.png" alt="abab8f2b-86c4-4b74-adcb-f0c85039ca94-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/topic/142807/roundbutton-with-gloweffect</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 05:57:18 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/142807.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Feb 2023 08:52:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RoundButton with GlowEffect on Thu, 09 Feb 2023 12:33:08 GMT]]></title><description><![CDATA[<p dir="auto">Dont know if it will work, but try to put that RoundButton inside a Rectangle with a radius equal to half is width and clip enabled</p>
]]></description><link>https://forum.qt.io/post/746917</link><guid isPermaLink="true">https://forum.qt.io/post/746917</guid><dc:creator><![CDATA[johngod]]></dc:creator><pubDate>Thu, 09 Feb 2023 12:33:08 GMT</pubDate></item></channel></rss>