public override void Initialize() { base.Initialize(); float width = graphics.camera.screenWidth / graphics.camera.scale; float height = graphics.camera.screenHeight / graphics.camera.scale; EditorInput input = tileEngine.inputComponent as EditorInput; egl.size = new Vector2(width, .25f * height); egl.location = new Vector2(0, .75f * height); egl.Initialize(); egl.pack(); current = egl; focus = current; }