Installing the Widget and Adding it to a Stack
To install a widget we use the Extension Builder.
- Open the Extension Builder from the Tools Palette.
- Select the Open button.
- Load the ‘rotatedtext.lcb’ file.
- Click Install.
- Choose the icon and high-resolution icons. These can be found under the Resources tab of this lesson. Put the icon folder in the same folder with the .lcb file.
The widget will be installed and will appear in the Tools Palette.
Adding a Widget to a Stack
You can now add the widget to a stack by dragging it out from the Tools Palette.
- Create a new stack.
- Drag on a Rotated Text Widget.
- Go into Edit mode.
- Select the widget.
- Open the Property Inspector for the widget.
- Set the Rotation property on the widget.