[PyQt] wider window than screen width

Florian Bruhin me at the-compiler.org
Wed Apr 2 10:21:53 BST 2014


* Peter Irbizon <peterirbizon at gmail.com> [2014-04-02 11:11:49 +0200]:
> 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?

Maybe setMaximumSize helps?

From http://qt-project.org/doc/qt-4.8/qwidget.html#size-prop :

    The size is adjusted if it lies outside the range defined by
    minimumSize() and maximumSize().

Florian

-- 
() ascii ribbon campaign - stop html mail    www.asciiribbon.org
/\ www.the-compiler.org  | I love long mails http://email.is-not-s.ms/
I'd rather just believe that it's done by little elves running around. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140402/a78b31de/attachment.pgp>


More information about the PyQt mailing list