Package pyjamas :: Package ui :: Module VerticalSplitPanel :: Class ImplIE6VerticalSplitPanel
[hide private]
[frames] | no frames]

Class ImplIE6VerticalSplitPanel

source code

Provides an implementation for IE6/7 that relies on 100% length in CSS.

Instance Methods [hide private]
 
__init__(self, panel) source code
 
expandToFitParentHorizontally(self, elem) source code
 
onAttach(self) source code
 
onDetach(self) source code
 
onSplitterResize(self, px)
IE6/7 has event priority issues that will prevent the repaints from happening quickly enough causing the interaction to seem unresponsive.
source code
 
onTimer(self, t) source code
 
updateElements(topElem, splitElem, bottomElem, topHeight, bottomTop, bottomHeight)
IE6/7 has a quirk where a zero height element with non-zero height children will expand larger than 100%.
source code
 
addResizeListener(self, container) source code
 
onResize(self) source code
Method Details [hide private]

onSplitterResize(self, px)

source code 

IE6/7 has event priority issues that will prevent the repaints from happening quickly enough causing the interaction to seem unresponsive. The following is simply a poor man's mouse event coalescing.

updateElements(topElem, splitElem, bottomElem, topHeight, bottomTop, bottomHeight)

source code 

IE6/7 has a quirk where a zero height element with non-zero height children will expand larger than 100%. To prevent self, the width is explicitly set to zero when height is zero.