Relabel
This commit is contained in:
parent
1b0f1b1f50
commit
a6ea63feed
@ -594,11 +594,11 @@ FullTooltipManager.prototype = inherit(TreeStyleTabBase, {
|
|||||||
style.marginLeft = (Math.max(currentScreen.left, currentScreen.allowedWidth - currentW) - this.window.screenX)+'px';
|
style.marginLeft = (Math.max(currentScreen.left, currentScreen.allowedWidth - currentW) - this.window.screenX)+'px';
|
||||||
if (currentY + currentH + currentScreen.top >= currentScreen.allowedHeight)
|
if (currentY + currentH + currentScreen.top >= currentScreen.allowedHeight)
|
||||||
style.marginTop = (Math.max(currentScreen.top, currentScreen.allowedHeight - currentH) - this.window.screenY)+'px';
|
style.marginTop = (Math.max(currentScreen.top, currentScreen.allowedHeight - currentH) - this.window.screenY)+'px';
|
||||||
log(' => tooltip: ', {
|
log(' => expanded dimensions: ', {
|
||||||
left : style.marginLeft,
|
left : style.marginLeft,
|
||||||
top : style.marginTop,
|
top : style.marginTop,
|
||||||
width : style.width,
|
maxWidth : style.maxWidth,
|
||||||
height : style.height
|
maxHeight : style.maxHeight
|
||||||
});
|
});
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -609,7 +609,7 @@ FullTooltipManager.prototype = inherit(TreeStyleTabBase, {
|
|||||||
let style = this.container.style;
|
let style = this.container.style;
|
||||||
style.width = tree.clientWidth+'px';
|
style.width = tree.clientWidth+'px';
|
||||||
style.height = tree.clientHeight+'px';
|
style.height = tree.clientHeight+'px';
|
||||||
log(' => tree: ', {
|
log(' => final tree size: ', {
|
||||||
width : tree.clientWidth,
|
width : tree.clientWidth,
|
||||||
height : tree.clientHeight
|
height : tree.clientHeight
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user