PySide 1.2.2 setMaxWidth and AeroSnap

Juan Christian juan0christian at
Sun Nov 16 16:51:51 CET 2014

PySide 1.2.2
Python 3.4.2


from PySide.QtGui import *

class MainWindow(QWidget):
def __init__(self):
self.setMinimumSize(600, 700)

* Call to this module in another module *
app = QApplication(sys.argv)
window = MainWindow()

When I set the "setMaxWidth" I can't use the Windows AeroSnap anymore, why?

I didn't set a "setMaxHeight", so this shouldn't lock me from doing the
snap. Without the "setMaxWidth" the AeroSnap works as usual, but I need to
limit my width to 600, because I need my tool to have this kind of
"short-width, long-height" look.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list