diff --git a/source/Ox.UI/js/List/IconItem.js b/source/Ox.UI/js/List/IconItem.js index 226d3138..8d8cc173 100644 --- a/source/Ox.UI/js/List/IconItem.js +++ b/source/Ox.UI/js/List/IconItem.js @@ -73,9 +73,9 @@ Ox.IconItem = function(options, self) { that.$icon = $('
') .addClass('OxIcon') .css({ - top: self.options.iconWidth == 64 ? -64 : -124, - width: (self.options.iconWidth + 4) + 'px', - height: (self.options.iconHeight + 4) + 'px' + top: (self.options.iconWidth == 64 ? -64 : -122) + 'px', + width: self.options.iconWidth + 4 + 'px', + height: self.options.iconHeight + 4 + 'px' }); that.$iconImage = $('') .addClass('OxLoading OxTarget') @@ -94,7 +94,7 @@ Ox.IconItem = function(options, self) { that.$textBox = $('
') .addClass('OxText') .css({ - top: self.options.iconHeight - self.options.itemWidth / 2 + 'px', + top: self.options.iconHeight - (self.options.itemWidth == 64 ? 32 : 62) + 'px', width: self.options.itemWidth + 4 + 'px', height: (self.options.itemWidth == 64 ? 30 : 58) + 'px' }); @@ -116,7 +116,7 @@ Ox.IconItem = function(options, self) { that.$reflection = $('
') .addClass('OxReflection') .css({ - top: self.options.iconHeight + 'px', + top: self.options.iconHeight + (self.options.itemWidth == 64 ? 0 : 2) + 'px', width: self.options.itemWidth + 4 + 'px', height: self.options.itemHeight - self.options.iconHeight + 'px' }); diff --git a/source/Ox.UI/js/List/InfoList.js b/source/Ox.UI/js/List/InfoList.js index b8976711..5dcec800 100644 --- a/source/Ox.UI/js/List/InfoList.js +++ b/source/Ox.UI/js/List/InfoList.js @@ -111,7 +111,7 @@ Ox.InfoList = function(options, self) { float: 'left', width: '132px', height: '192px', - margin: '4px 2px 4px 2px' + margin: '2px' }) .append( Ox.IconItem(Ox.extend(data.icon, {