[PyQt] wider window than screen width

David Boddie davidb at met.no
Wed Apr 2 10:59:22 BST 2014


On Wed Apr 2 10:11:49 BST 2014, Peter Irbizon wrote:

> I tried to set window dimensions with self.resize(1450,250) more than is my
> screen resolution (1280, 800). But it limits window width to max 1280.
>
> Please,
>
> How can I set window width wider than my screen width?

Use setGeometry(x, y, width, height) to the value you want. This works on X11,
at least under KDE, but I can't guarantee it will work on all platforms. You'll
have to try it out and see if it works.

David


More information about the PyQt mailing list