misc fixes

This commit is contained in:
rlx 2011-09-29 17:25:50 +00:00
commit 8ea49fab73
10 changed files with 41 additions and 16 deletions

View file

@ -64,8 +64,9 @@ Ox.IconItem = function(options, self) {
}
that.css({
width: self.options.itemWidth + 'px',
height: self.options.itemHeight + 'px'
// 2 * 2 px margin (.css), 2 * 2 px border (here)
width: self.options.itemWidth + 4 + 'px',
height: self.options.itemHeight + + 4 + 'px'
});
that.$icon = $('<div>')
.addClass('OxIcon')