[PyQt] wider window than screen width

Peter Irbizon peterirbizon at gmail.com
Wed Apr 2 11:34:33 BST 2014


hi guys, I tried all your suggestions but nothing helped on Windows.
but with little "dirty hack" I am able to get wider width than is my
visible screen width.
I set toolBar.setFixedSize(2000,30) and it makes my window is approx.
2000px wide.

thanks for your help again


2014-04-02 11:59 GMT+02:00 David Boddie <davidb at met.no>:

> 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
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140402/66454750/attachment.html>


More information about the PyQt mailing list