Monday, June 23, 2008 at 3:36 PM
Some controls have a property called caption that conveniently acts as a built-in label for the control. Let's look at some examples:
<button name="playButton" x="30" y="20" width="64" height="22" | |
<radio name="jazzRadio" x="30" y="60" width="60" | |
<checkbox name="classicalCheck" x="30" y="90" width="90" |
label
, such as bold and italic, to style the caption. The text labels are considered as part of the control's clickable area, as you'd expect.Have a tip you'd like to share? Send it to gd-developer AT google DOT com. To see all tips, choose the Tips label.
1 comment:
This is a good tip, and thanks for the new images, they're gonna help a lot :)
Post a Comment