PDA

View Full Version : Set panel to position



wuschba
12 Oct 2009, 12:58 PM
Hello! I have a panel which style: 'position:absolute'. I want to center it on the screen, but neither:
panel.center();
nor:
panel.setPagePosition(200, 100);
not:
panel.setPosition(200, 100);
did do anything. How can I set the position of a panel?

wuschba
12 Oct 2009, 1:04 PM
Just forget it, I did something wrong...