Once a component is selected simply click the rotation tools to rotate it 90° left or right.
Notice however that rotation is only supported for individual components. Selecting a group of components disables the rotation tools.
Click either component Rotation tool to rotate LED8 180° so that its pins are facing the PIC PORTB pins. Note that the orientation property of the LED8 has changed from the default value of Down to Up.
You can also rotate components using the space bar on your keyboard. Pressing the spacebar when a single component is selected will rotate the component 90° right. If no components are selected, or more than one component is selected, pressing the space bar does not do anything to the workspace.
Your screen should now look like this.
Now that the component is facing the right way we want to move the LED8 component such that its pins are directly adjacent the PIC pins. However before doing this for the purpose of demonstration it is better to link the components together.