4. Add an Image element
1. Create an Image Workshop GUI with ID image_lab.
2. Use Add Element to add an Image. Set ID to inspect_image.
3. In General, set X 32, Y 110, Width 300 and Height 240 for this example.
4. Open Images and choose Brass Key as Media Asset.
5. Open Type Settings and leave Content Fit on contain. Save the project.
Figure 3. For an Image element, Media Asset supplies the foreground picture. Hover and Clicked Image supply alternate foreground states.
The selection rectangle is the element’s layout area. It is not necessarily the visible drawing’s outline. A square transparent icon fitted inside a wide rectangle will leave space on the sides.
An Image element does not draw a text caption from the Text field. Put a separate Label beside or below it when you need a description.
