From 3b1fd5c38ce7396586ae4cd443dc7e9e4297ee2e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 15 Jun 2012 10:31:38 +0200 Subject: [PATCH] fix TreeList rows with no icon, fixes #843 --- source/Ox.UI/js/List/TreeList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);