<?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[Micropython LVGL Colour]]></title><description><![CDATA[<p dir="auto">I have been playing around with LVGL and Micropython on the Dash and have had some success. I can't find much documentation on how to change styles in Micropython but I have been able to figure out how to change the main colour but cannot figure out how to change the colour when a button is pressed.  Anyone have example code or know where there might be more complete LVGL Micropython documentation?</p>
<p dir="auto">Thanks.</p>
]]></description><link>http://community.onion.io/topic/4428/micropython-lvgl-colour</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 05:35:43 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/4428.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Feb 2021 05:44:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Micropython LVGL Colour on Thu, 25 Feb 2021 05:44:37 GMT]]></title><description><![CDATA[<p dir="auto">I have been playing around with LVGL and Micropython on the Dash and have had some success. I can't find much documentation on how to change styles in Micropython but I have been able to figure out how to change the main colour but cannot figure out how to change the colour when a button is pressed.  Anyone have example code or know where there might be more complete LVGL Micropython documentation?</p>
<p dir="auto">Thanks.</p>
]]></description><link>http://community.onion.io/post/23313</link><guid isPermaLink="true">http://community.onion.io/post/23313</guid><dc:creator><![CDATA[Mark Fisher]]></dc:creator><pubDate>Thu, 25 Feb 2021 05:44:37 GMT</pubDate></item><item><title><![CDATA[Reply to Micropython LVGL Colour on Thu, 25 Feb 2021 07:46:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5158">@Mark-Fisher</a> the LVGL community is quite active, you may have more luck posting in LVGL specific community groups. <a href="https://forum.lvgl.io/" rel="nofollow">https://forum.lvgl.io/</a></p>
]]></description><link>http://community.onion.io/post/23315</link><guid isPermaLink="true">http://community.onion.io/post/23315</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Thu, 25 Feb 2021 07:46:38 GMT</pubDate></item><item><title><![CDATA[Reply to Micropython LVGL Colour on Thu, 25 Feb 2021 16:12:44 GMT]]></title><description><![CDATA[<p dir="auto">I am definitely going to try that next, but I think the problem may be specific to the Omega port of the Micropython library so I thought I would try here first.</p>
<p dir="auto">Sorry I wasn't quite clear in my explanation. I have found a few examples showing how to change the   PRESSED colour:</p>
<pre><code>style.set_bg_color(lv.STATE.PRESSED, lv_colors.GRAY)
</code></pre>
<p dir="auto">which works in the emulator but doesn't work on the Dash. I get errors saying that the object has no attribute  'set_bg_color' and there is no module 'lv_colors'.</p>
<p dir="auto">Also this port doesn't have a textarea widget. So I am just wondering if there is any kind of documentation on what has been ported and what hasn't.</p>
]]></description><link>http://community.onion.io/post/23322</link><guid isPermaLink="true">http://community.onion.io/post/23322</guid><dc:creator><![CDATA[Mark Fisher]]></dc:creator><pubDate>Thu, 25 Feb 2021 16:12:44 GMT</pubDate></item><item><title><![CDATA[Reply to Micropython LVGL Colour on Fri, 26 Feb 2021 21:25:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5158">@Mark-Fisher</a> the example code might be for the C version of LVGL?</p>
<p dir="auto">As far as I recall, they had pretty sparse documentation for the micropython port. But that might have changed, I haven't looked into it in quite some time.</p>
<p dir="auto">I agree with <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6184">@crispyoz</a>, your best bet is to go straight to the source and try posting on the lvgl forum. Let us know how it goes!</p>
]]></description><link>http://community.onion.io/post/23337</link><guid isPermaLink="true">http://community.onion.io/post/23337</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Fri, 26 Feb 2021 21:25:57 GMT</pubDate></item></channel></rss>