PDA

View Full Version : how to animate sliding widget behind statusBar



dogeye
30th January 2013, 02:44
I have a mainWindow, and defined a statusBar with some pushButtons. I want to animate a sliding widget behind the statusBar(pushbuttons) (like sliding out between stausBar and center window), but so far, i can only make it move on top of statusBar which will cover the pushbuttons. Is there is a way to achieve this? or if there is a way to start the animation at the edge of statusBar and center widget may also work.

Thank you so much.

lanz
30th January 2013, 07:54
If you make moving widget a child of the central widget (instead of main window), it's area will be clipped by parent, so it won't overlap pushbuttons on the status bar.

dogeye
30th January 2013, 19:06
oh yeah....it works. Thank you so much. :D