diff --git a/source/Ox.UI/js/List/Ox.IconItem.js b/source/Ox.UI/js/List/Ox.IconItem.js index eec236b6..4c96ed46 100644 --- a/source/Ox.UI/js/List/Ox.IconItem.js +++ b/source/Ox.UI/js/List/Ox.IconItem.js @@ -49,8 +49,6 @@ Ox.IconItem = function(options, self) { self.title = formatText(self.options.title, self.lines - 1, self.lineLength); self.info = formatText(self.options.info, 5 - self.title.split('
').length, self.lineLength); - Ox.print('SELF OPTIONS', self.options) - that.css({ width: self.options.itemWidth + 'px', height: self.options.itemHeight + 'px' @@ -177,7 +175,6 @@ Ox.IconItem = function(options, self) { that.removeClass('OxHover'); } - Ox.print('CSS HEIGHT', that.css('height')) return that; }; diff --git a/source/Ox.UI/js/List/Ox.IconList.js b/source/Ox.UI/js/List/Ox.IconList.js index 39aec124..2558770c 100644 --- a/source/Ox.UI/js/List/Ox.IconList.js +++ b/source/Ox.UI/js/List/Ox.IconList.js @@ -53,7 +53,7 @@ Ox.IconList = function(options, self) { self.options.defaultRatio = self.options.fixedRatio; } - self.iconHeight = self.options.size / (self.options.fixedRatio || 1); + self.iconHeight = Math.round(self.options.size / (self.options.fixedRatio || 1)); self.iconWidth = self.options.size; self.itemHeight = self.iconHeight + self.options.size * 0.5; self.itemWidth = self.options.size;