Hi,
i have a dynamic text field onto which one, i should have a buttonclip.
however, as the text into dynamic field changes size quite often, i would like to automatically adjust the size of button to the dynamic text field.
I’ve tried that :
mybutton.Height = mytext.height;
mybutton.Width = mytext.width;
mybutton.x = mytext.x;
mybutton.y = mytext.y;
but i does not work well… button does not update to mytext size.
before i tried :
mybutton.height = mytext.height;
mybutton.width = mytext.width;
but in this case, width and height of mybutton = 0;
so any idea ?
thx.