<?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[Is there a way of moving a label in UiFlow2]]></title><description><![CDATA[<p dir="auto">Is there a way to move a label, using code or blocks, in UiFlow2?</p>
<p dir="auto">There are, supposedly, a method to get the width of a label using .get_width() but I also want to reposition the label depending on the width that I get back.<br />
I am basically trying to find a way to center a label on the screen depending on how wide the text is.</p>
<p dir="auto">Thanks in advance.<br />
//Peter</p>
]]></description><link>https://community.m5stack.com/topic/6236/is-there-a-way-of-moving-a-label-in-uiflow2</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 06:00:24 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6236.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Mar 2024 13:29:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is there a way of moving a label in UiFlow2 on Wed, 27 Mar 2024 22:21:48 GMT]]></title><description><![CDATA[<p dir="auto">thanks ajb2k3 , that is what i was looking for</p>
]]></description><link>https://community.m5stack.com/post/24675</link><guid isPermaLink="true">https://community.m5stack.com/post/24675</guid><dc:creator><![CDATA[gerbert]]></dc:creator><pubDate>Wed, 27 Mar 2024 22:21:48 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way of moving a label in UiFlow2 on Wed, 20 Mar 2024 18:23:44 GMT]]></title><description><![CDATA[<p dir="auto">Use the set table XY block to move the label in code</p>
<p dir="auto"><img src="/assets/uploads/files/1710958991346-screenshot-2024-03-20-at-18.22.59.png" alt="0_1710958990057_Screenshot 2024-03-20 at 18.22.59.png" class=" img-fluid img-markdown" /></p>
<pre><code>label0.setCursor(x=0, y=0)
</code></pre>
]]></description><link>https://community.m5stack.com/post/24476</link><guid isPermaLink="true">https://community.m5stack.com/post/24476</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 20 Mar 2024 18:23:44 GMT</pubDate></item></channel></rss>