|
@ -430,14 +430,8 @@ ItemSet.prototype.redraw = function() { |
|
|
height = Math.max(height, minHeight); |
|
|
height = Math.max(height, minHeight); |
|
|
this.stackDirty = false; |
|
|
this.stackDirty = false; |
|
|
|
|
|
|
|
|
// reposition frame
|
|
|
|
|
|
frame.style.left = asSize(options.left, ''); |
|
|
|
|
|
frame.style.right = asSize(options.right, ''); |
|
|
|
|
|
frame.style.top = asSize((orientation == 'top') ? '0' : ''); |
|
|
|
|
|
frame.style.bottom = asSize((orientation == 'top') ? '' : '0'); |
|
|
|
|
|
frame.style.width = asSize(options.width, '100%'); |
|
|
|
|
|
|
|
|
// update frame height
|
|
|
frame.style.height = asSize(height); |
|
|
frame.style.height = asSize(height); |
|
|
//frame.style.height = asSize('height' in options ? options.height : height); // TODO: reckon with height
|
|
|
|
|
|
|
|
|
|
|
|
// calculate actual size and position
|
|
|
// calculate actual size and position
|
|
|
this.props.top = frame.offsetTop; |
|
|
this.props.top = frame.offsetTop; |
|
|