+1
Respost
Fit attribute for text object
I believe that I am having some issues with the fit="yes" attribute for a text object within my wire.
I have a text object that I am assigning values to after some mathematical calculations have been performed, but I am finding that depending on what values are ented in the calculations, the resulting number is too large to show in the text object.
So I thought that I would assign the fit="yes" attribute as outlined in the documentation to help fix this problem. However I am still running into the same problem. Does this attribute not work on text that has been assigned to it via an action, or am I simply not doing it correctly? A sample from my wire is below:
[code]
[/code]
I have a text object that I am assigning values to after some mathematical calculations have been performed, but I am finding that depending on what values are ented in the calculations, the resulting number is too large to show in the text object.
So I thought that I would assign the fit="yes" attribute as outlined in the documentation to help fix this problem. However I am still running into the same problem. Does this attribute not work on text that has been assigned to it via an action, or am I simply not doing it correctly? A sample from my wire is below:
[code]
[/code]
Customer support service by UserEcho
<text name="estimated-yield-field" alias="ESTIMATED-YIELD" style="result-text" height="fit" fit="yes" ypos="5" text="0"></text>
<style name="result-text" font="TimesNewRomanPS-BoldMT" size="36" lwidth="155" width="155" lxpos="465" xpos="265" alignment="right" color="#492417" fit="yes"></style>
I tested this scenario using the code you provided above and it looks like there is a bug with fit="yes". I will see what I can do about getting this corrected, as it works on our Android engine.
In the meantime, can you use height="fit" to achieve your goals? I will follow up with you on Monday to let you know the status of this bug.
Thanks.