<?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[Simple point components right aligned]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is there a way to be able to give the right top coordinates of a Simpe point component instead of the left top coordinates?<br />
I'm displaying some informations in a table, where the first column consists of static labels (on background image), and the current values are displayed in the second column. The values differ in length, this is why they should be right aligned (or centered, like on Watch list).</p>
<p dir="auto">Thanks,<br />
Greg</p>
]]></description><link>https://forum.mango-os.com/topic/402/simple-point-components-right-aligned</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 05:21:13 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/402.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 May 2010 10:54:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Simple point components right aligned on Wed, 26 May 2010 19:46:14 GMT]]></title><description><![CDATA[<p dir="auto">Great, thank you!</p>
<p dir="auto">Regards,<br />
Greg</p>
]]></description><link>https://forum.mango-os.com/post/3788</link><guid isPermaLink="true">https://forum.mango-os.com/post/3788</guid><dc:creator><![CDATA[posztos]]></dc:creator><pubDate>Wed, 26 May 2010 19:46:14 GMT</pubDate></item><item><title><![CDATA[Reply to Simple point components right aligned on Wed, 26 May 2010 17:32:06 GMT]]></title><description><![CDATA[<p dir="auto">The variables "htmlText" and "renderedText" have been added to the script context.</p>
]]></description><link>https://forum.mango-os.com/post/3787</link><guid isPermaLink="true">https://forum.mango-os.com/post/3787</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Wed, 26 May 2010 17:32:06 GMT</pubDate></item><item><title><![CDATA[Reply to Simple point components right aligned on Wed, 26 May 2010 15:32:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thank you for the answer.</p>
<p dir="auto">But as I know, using a Server-side script, I can not use the different text renderers, that are used when displaying values with Simple point components. (rendering can be also coded inside the script, but it will be redundant)</p>
<p dir="auto">Regards,<br />
Greg</p>
]]></description><link>https://forum.mango-os.com/post/3786</link><guid isPermaLink="true">https://forum.mango-os.com/post/3786</guid><dc:creator><![CDATA[posztos]]></dc:creator><pubDate>Wed, 26 May 2010 15:32:04 GMT</pubDate></item><item><title><![CDATA[Reply to Simple point components right aligned on Wed, 26 May 2010 15:16:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi Greg,</p>
<p dir="auto">This is a tricky thing, because to do this in a simple component would mean recalculating the size of the div at every update.</p>
<p dir="auto">An alternative is to get the browser to do it for you. The catch is that you need to determine the maximum size of the component ahead of time such that you can still position it using top/left. You'd use a script component with an inner div that has a text-align of right.</p>
<pre><code>
return '&amp;lt;div style="text-align:right;width:100px;"&amp;gt;'+ value +'&amp;lt;/div&amp;gt;';

</code></pre>
]]></description><link>https://forum.mango-os.com/post/3785</link><guid isPermaLink="true">https://forum.mango-os.com/post/3785</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Wed, 26 May 2010 15:16:19 GMT</pubDate></item></channel></rss>