Skip to reading
The GUI Designer

11. Check hover, hold and release

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Assign a normal image, a Hover Image and a Clicked Image that you can tell apart. Enable the designer's Preview switch, then move over the control, hold the left button and let go.

Figure 18. Normal: the original artwork is shown before the pointer enters.

Figure 19. Hover: the separate hover artwork appears.

Figure 20. Held: the Clicked Image is visible while the press is held.

Figure 21. Released: the original artwork returns. Move off and back on to enter the hover image state again.

Clicked Image is a pressed-state picture, not a permanent selection picture. The button may still have focus or hover coloring, but the configured held-click artwork should not remain stuck after release.

An omitted state image uses an available fallback rather than requiring three pictures for every element. Hover is a mouse interaction; provide a clear normal and pressed appearance for touch users too.

Page 23 of 57Permalink
Go to page