<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>17 Oct 2014 15:27:59 Z</lastBuildDate><pubDate>13 Oct 2014 17:55:50 Z</pubDate><description>Just imagine a simple and small text static control in Font Size 9.&#13;
&#13;
At the beginning it has the caption "SmallText". It displays nicely.&#13;
&#13;
Then, when the caption changes to "AVeryLongTextThatUsualyDoesntFit" I don't want this ending with 'ellipse' like "..."&#13;
&#13;
Instead I wan't to automatically change the font size till it fits in the initial size of the control.&#13;
&#13;
Any ideas how to do this?&#13;
&#13;
TIA&#13;
Sebastian</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/48453-autoresize-text-static/read.awp</link><title>Autoresize Text in Static</title><managingEditor>moderateur@pcsoft.fr (The moderator)</managingEditor><webMaster>webmaster@pcsoft.fr (The webmaster)</webMaster><item><author>Sebastian Arnold</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/48453-autoresize-text-static-48536/read.awp</comments><pubDate>17 Oct 2014 15:27:59 Z</pubDate><description>I can answer this by myself:&#13;
&#13;
The function is called TextWidth(): http://doc.windev.com/en-US/?3025004&#13;
&#13;
Example of an edit c…</description><guid isPermaLink="true">https://forum.pcsoft.fr/en-US/pcsoft.us.windev/48453-autoresize-text-static-48536/read.awp</guid><link>https://forum.pcsoft.fr/en-US/pcsoft.us.windev/48453-autoresize-text-static-48536/read.awp</link><source url="https://forum.pcsoft.fr/en-US/pcsoft.us.windev/48453-autoresize-text-static/read.awp">Autoresize Text in Static</source><title>Re: Autoresize Text in Static</title></item></channel></rss>
