<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi all,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm working with FCCustom(Lua)Window and having some difficulties with sizing.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I want to display a static label on a dialog, but I don't know at design time how long the text in the label is -- let's say it's a path+filename. I don't see a way to make the FCCtrlStatic dynamically fit the length of the text, or to make the overall width of the dialog fit the length of the control.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Is there a good way to accomplish this? Or is my best bet to approximate the needed control length in points based on the character count and then set sizes based on that, hoping that everything works?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Aaron.</div></div>