forked from 0x2620/oxjs
fixing a resize bug in Ox.List
This commit is contained in:
parent
7f904cda1f
commit
f311e05412
5 changed files with 23 additions and 5 deletions
|
|
@ -225,6 +225,11 @@ Ox.SplitPanel = function(options, self) {
|
|||
return that;
|
||||
}
|
||||
};
|
||||
that.getSize = function(id) {
|
||||
var pos = Ox.isNumber(id) ? id : getPositionById(id),
|
||||
element = self.options.elements[pos];
|
||||
return element.element[self.dimensions[0]]() * !that.isCollapsed(pos);
|
||||
};
|
||||
|
||||
that.toggle = function(id) {
|
||||
// one can pass pos instead of id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue