forked from 0x2620/oxjs
support highlighting in icon list text
This commit is contained in:
parent
4dba56ba87
commit
1ae47b761b
4 changed files with 41 additions and 37 deletions
|
|
@ -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
|
||||
}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue