1
0
Fork 0
forked from 0x2620/oxjs

support highlighting in icon list text

This commit is contained in:
rlx 2012-02-01 11:57:21 +00:00
commit 1ae47b761b
4 changed files with 41 additions and 37 deletions

View file

@ -21,6 +21,8 @@ Ox.InfoList = function(options, self) {
})
.options(options || {})
Ox.print('INFO LIST FIND', self.options.find);
self.iconSize = Math.round(self.options.size * 2/3);
self.itemHeight = self.options.size;
@ -64,10 +66,8 @@ Ox.InfoList = function(options, self) {
))
},
info: {}
};
Ox.Log('List', 'DATA -=-------', data)
var $icon = Ox.Element()
},
$icon = Ox.Element()
.css({
float: 'left',
width: '132px',
@ -82,7 +82,6 @@ Ox.InfoList = function(options, self) {
iconWidth: self.iconSize,
imageHeight: data.icon.height,
imageWidth: data.icon.width,
isInfoList: true,
itemHeight: self.itemHeight,
itemWidth: 128
}))