六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 66|回复: 0

Using error tips

[复制链接]

升级  19.33%

21

主题

21

主题

21

主题

秀才

Rank: 2

积分
79
 楼主| 发表于 2013-1-29 07:42:09 | 显示全部楼层 |阅读模式
Using error tips

Error tips are instances of the ToolTip class that get their styles from the errorTip class selector. They are most often seen when the Flex validation mechanism displays a warning when data is invalid. But you can use the definitions of the errorTip style and apply it to ToolTips to create a custom validation warning mechanism.
The styles of an error tip are defined in the defaults.css file, which is in the framework.swc file. It specifies the following default settings for errorTip (notice the period preceding errorTip, which indicates that it is a class selector):
<div class="listing">.errorTip {    color: #FFFFFF;    fontSize: 9;    fontWeight: "bold";    shadowColor: #000000;    borderColor: #CE2929;    borderStyle: "errorTipRight";    paddingBottom: 4;    paddingLeft: 4;    paddingRight: 4;    paddingTop: 4;}
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表