Hello Koen ,
In the latest Wt git version WPopupMenu is shown incorrectly. It
appears always at 0px,0px coordinates.
The bug seems to be in Wt.js fitToWindow function.
When comment some piece of code as shown below the popup widget works as in
version 3.1.8.
this.fitToWindow = function (e, x, y, rightx, bottomy) {
..........
//if (ew > wx) { // wider than window
// x = wx;
// hside = 0;
//}
// else
...........
//if (ew > wx) { // taller than window
// y = wy;
// vside = 0;
//}
//else
.............
e.style[hsides[hside]] = x + 'px';
e.style[hsides[1 - hside]] = '';
e.style[vsides[vside]] = y + 'px';
e.style[vsides[1 - vside]] = '';
};
I'm not sure what is proper fix for this function :(
Regards,
Zhivko Vasilev
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest