Hi Gregor, I don’t know if you are still active on the forum, but I have a query about this javascript solution for repositioning based on an autofit box content change:
javascript:void($axure.setGlobalVariable(“newHeight”,$( “[data-label=headline] .text”).height()));
This works fine, as in the demo, on a box with autofit height, shwoing the new value once the height changes. However, once I change the autofit to the width, and the command to “data-label=headline] .text”).width())); when I click the ‘Get height’ (in my case width) button in the demo, although the text box width changes as required, it does not return the new box width value, only the original width.
Any ideas why this might be so?
Thanks