panel Aligement center

Hi I m using Navigater to move from one window to another ,in one class i have vertical panel inside that i have panel the panel is opening on top left corner but my requrement is the popnel has to open at centre of page i tried all aligment it not worked for me .please any one suggest which better way to bring the panel at center of page inside the modeless window .If you provide me example it would be great help for me

I noticed you already found a solution to your problem through the Vaadin Skype chat. So, why don’t you make follow-up post to explain how you solved this, so others in the same situation might learn?

yes i know setAligment property of vertical layout is to be used if you need panel at center but also declare label with empty caption set the height properly the panel will come at center and also moddle of the window