I have a screen, with a GUI component in it (my own widget). The GUI component (Widget) on the parent screen has bounds <0,280,800,480>, but the actual widget (internally) has bounds <0,0,800,300>
I would like to be able to resize the (internal) GUI components bounds <0,0,800,300> so that it would fit properly inside <0,280,800,480>, and have this done at runtime.
Trying to achive this brought me to my second question;
I am overriding the init functions for both the screen and the GUI component (Widget). I would like to have my screens init called before the GUI components (Widgets) init, as I would like to set up properties that are required by the (Widgets) init function. How can I change the order init functions are called in?