It set a new text in the hws with the set instruction the length is not updated, at lest the form layout remain the same.
Then in case I set like that
Code: Select all
<label id="kjkj" Align="Center" > </label>
changing it later with
Code: Select all
moai.Set("kjkj","text","label comment")
Trick is to set a fake label in the the xml file with an appropriate length like
Code: Select all
<label id="kjkj" Align="Center" >aaaaaaaaaaaaaa</label>