I'm trying to move and resize a widget based on saved state information but I can't seem to do both at the same time.
Here is my code:
This code will set the height and width of the widget but it will not move the widget to the correct XYPosition. If I comment out the width and height lines, the widget will move to the correct position. What am I doing wrong?
Thanks!
Here is my code:
Code:
this.width = 500;
this.height = 500;
this.wTemplate.width = 500;
this.wTemplate.height = 500;
this.setXYPosition(100, 100);
Thanks!