One more problem with this code

The widget always places itself in the upper-left corner of the window, no matter which place I give it.

Can someone give me some hints about this?