setting the geometry in the constructor will not work, since the widget is not yet visible.
On top of that, there are other considerations such as if the widget is in a layout, or the screen geometry.
What you can do is intercept the showEvent(), and set the geometry there - at that point it should take effect.
Bookmarks