forked from 0x2620/oxjs
Ox.UI -> Ox
This commit is contained in:
parent
eaaa8602e7
commit
775aa607c8
13 changed files with 31 additions and 31 deletions
|
|
@ -94,7 +94,7 @@ Ox.TreeList = function(options, self) {
|
|||
function constructItem(data) {
|
||||
var $item = $('<div>').css({
|
||||
width: self.options.width == 'auto' ? '100%'
|
||||
: self.options.width - Ox.UI.SCROLLBAR_SIZE + 'px'
|
||||
: self.options.width - Ox.SCROLLBAR_SIZE + 'px'
|
||||
}),
|
||||
$cell = $('<div>').addClass('OxCell').css({width: '8px'}),
|
||||
$icon = data.id ? getIcon(data.id, data.expanded || (
|
||||
|
|
@ -112,7 +112,7 @@ Ox.TreeList = function(options, self) {
|
|||
$('<div>')
|
||||
.addClass('OxCell OxTarget')
|
||||
.css({
|
||||
width: self.options.width - padding - 32 - Ox.UI.SCROLLBAR_SIZE + 'px'
|
||||
width: self.options.width - padding - 32 - Ox.SCROLLBAR_SIZE + 'px'
|
||||
})
|
||||
.html(data.title || '')
|
||||
.appendTo($item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue