Prev | Current Page 36 | Next

LordAlex Leon, Greg Goralski

"Foundation Flex for Designers"

The padding attributes affect the placement
of the label. Figure 2-5 shows a button with increased corner rounding, label padding, and letter
spacing. Along the bottom of this panel, you??™ll see a Restore Defaults button. Clicking this button clears
any of the changes you have made for this component and lets you try again. Any changes you have
made for the other components will not be removed when you click this button.
28
CHAPTER 2
Figure 2-5. Our button with styling
Less immediately understandable are the attributes
that dictate the Highlight Alphas and Fill
Alphas (Figure 2-6).
It is the Highlight Alphas and the Fill Alphas that
give Flex applications their characteristic subtle
gradients that add depth. The first Highlight
Alphas setting controls the strength of a gradient
that starts from the top, while the second controls the gradient that starts from the midpoint of the
button. The first Fill Alphas slider and color selector control the color of the gradient starting from the
top, while the second set control the gradient that begins from the bottom of the button while it is in
its up state. The third and fourth set control the same visual aspects for the over state. The Theme Color,
located further down the list of controls, sets the down state, or highlight, look of the button.
In Figure 2-7 you can see the effects of the changes we??™ve made to our button.
Figure 2-7. Our button with modified Highlight Alphas and Fill Alphas
Figure 2-6.


Pages:
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Limp Bizkit bloczek blog zmywarki Emmanuel Moire meble