Let's adjust the states of the menu buttons in our Coffee Beans
example project:
1. If you haven't already, open the
Coffee Beans
project that we've been working on. Double-click on the Menu page to open it on the canvas.2. Single-click on the menu object to select it, and then open the Inspector and find the SETTINGS heading. Beneath the heading, next to the STYLES drop-down, is the state selector, a selector that lets you change between editing the Normal, Highlighted, and Disabled states. When you select a different state, any styles you apply will only appear when the button is in that state. You can see the state selector in the following screenshot:
3. Change the selector to Highlighted; this button state should use an inverted or reversed version of the normal linear gradient. Expand the Background section, and select the same gradient as your normal state. If you're using the example colors, use a Snow to Silver gradient, using the crayon selector.
4...