fix TreeList rows with no icon, fixes #843
This commit is contained in:
parent
37ee99f884
commit
3b1fd5c38c
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ Ox.TreeList = function(options, self) {
|
|||
$('<div>')
|
||||
.addClass('OxCell OxTarget' + (!data.items ? ' OxSelectable' : ''))
|
||||
.css({
|
||||
width: self.options.width - padding - 32 - Ox.UI.SCROLLBAR_SIZE + 'px'
|
||||
width: self.options.width - padding - ($icon ? 0 : 16) - 32 - Ox.UI.SCROLLBAR_SIZE + 'px'
|
||||
})
|
||||
.html(data.title || '')
|
||||
.appendTo($item);
|
||||
|
|
Loading…
Reference in a new issue