Jul 26, 2012, 8:35 PM
[CLOSED] Center window to Panel or Grid
I want my pop-up window to center to a gridpanel, not the screen. How can I do that?
Last edited by Daniil; Jul 27, 2012 at 2:11 PM. Reason: [CLOSED]
var xy = Window1.el.getAlignToXY(GridPanel1.el, 'c-c'); Window1.setPagePosition(xy, xy);