When using the expand function with a large text box the text will expand out from the center creating an awkward transition where the section will grow then shrink down to the correct size.
Is there a way to make the expanding of the text instant to avoid this scenario or have the text expand from a different direction?
The code I am using is straight from the example on the functions documentation:
export function box44_click ( event ) {
if ( $w ( “#text31” ). collapsed ) {
$w ( “#text31” ). expand ();
}
else {
$w ( “#text31” ). collapse ();
}
}
Thank you in advance for the help.