diff --git a/source/Ox.UI/js/List/TreeList.js b/source/Ox.UI/js/List/TreeList.js index 24580ee7..c2ca6fe8 100644 --- a/source/Ox.UI/js/List/TreeList.js +++ b/source/Ox.UI/js/List/TreeList.js @@ -110,7 +110,7 @@ Ox.TreeList = function(options, self) { $('
') .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);