<Button name="alert_set_normal" clickreportid="AB0605" padding="5,4" width="18" height="18" keyboard="false" resourcetext="true" tooltip="预警" normalimage="res='res/price_warn/bell.png' source='0,0,18,18'" hotimage="res='res/price_warn/bell.png' source='18,0,36,18' " pushedimage="res='res/price_warn/bell.png' source='54,0,72,18'" bkcolor="$singleStock_panel_information_szx_bk" visible="false"/>
bell.png图片如下,大小为72×18

source:值为图片左上和右下角坐标
normalimage:正常显示图片,根据source值为第一张
hotimage:鼠标放上去显示图片,根据source值为第二张
pushedimage:鼠标点击显示图片,根据source值为第三张
本文解析了博客中关于名为'alert_set_normal'的按钮,其使用了不同状态下的图片资源,并详细介绍了source、normalimage、hotimage和pushedimage属性如何控制图片显示。重点在于图像的坐标管理和显示策略。

4676

被折叠的 条评论
为什么被折叠?



