<?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[ProgressBar styling]]></title><description><![CDATA[<p dir="auto">I'm trying to change the look of a progressbar, but i only manage to change the background with this:</p>
<pre><code>ProgressBar {

            //...

            background: Rectangle {
                radius: 2
                color: "gray"
                implicitWidth: 200
                implicitHeight: 18
            }
}
</code></pre>
<p dir="auto">According to <a href="http://doc.qt.io/qt-5/qml-qtquick-controls-styles-progressbarstyle.html" target="_blank" rel="noopener noreferrer nofollow ugc">this site</a> i should be able to change the progressbar itself using this:</p>
<pre><code>progress: Rectangle {
            color: "lightsteelblue"
            border.color: "steelblue"
        }
</code></pre>
<p dir="auto">But that does not work. How do i change the style of the progressbar?</p>
]]></description><link>https://forum.qt.io/topic/95817/progressbar-styling</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 20:17:36 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/95817.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Oct 2018 07:33:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ProgressBar styling on Tue, 23 Oct 2018 10:07:40 GMT]]></title><description><![CDATA[<p dir="auto">That seems to be the case. Thank you!</p>
]]></description><link>https://forum.qt.io/post/488440</link><guid isPermaLink="true">https://forum.qt.io/post/488440</guid><dc:creator><![CDATA[Thunderstruck]]></dc:creator><pubDate>Tue, 23 Oct 2018 10:07:40 GMT</pubDate></item><item><title><![CDATA[Reply to ProgressBar styling on Tue, 23 Oct 2018 09:41:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thunderstruck">@<bdi>Thunderstruck</bdi></a><br />
i guess you are mixing up QtQuickControls and QtQuickControls2?</p>
<p dir="auto">The link you've posted actually requires a ProgressBarStyle element.</p>
<p dir="auto">For QtQuickControls2 <a href="https://doc.qt.io/qt-5.11/qtquickcontrols2-customize.html#customizing-progressbar" target="_blank" rel="noopener noreferrer nofollow ugc">see this</a></p>
]]></description><link>https://forum.qt.io/post/488434</link><guid isPermaLink="true">https://forum.qt.io/post/488434</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Tue, 23 Oct 2018 09:41:11 GMT</pubDate></item></channel></rss>