Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 1692

Changing the size and position of the Screen/Widget after creation

$
0
0

Hello. Is it possible to change the position and size of the screen/widget after it has been created? I am controlling position and size with self.skin variable, but it appears that this is only read during creation.

 

I tried examining screen and widget members, and found Screen.instance.size().setWidth method, but self.instance.size().setWidth(800) did not have any effect.


Viewing all articles
Browse latest Browse all 1692