<div>PySide 1.2.2<br></div><div>Python 3.4.2</div><div><br></div><div>Code:</div><div><br></div><div>from PySide.QtGui import *</div><div><br></div><div>class MainWindow(QWidget):</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>def __init__(self):</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>QWidget.__init__(self)</div><div><span class="Apple-tab-span" style="white-space:pre">               </span>self.setMinimumSize(600, 700)</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>self.setMaximumWidth(600)</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>self.setLayout(QVBoxLayout())</div><div><br></div><div>* Call to this module in another module *</div><div><div>app = QApplication(sys.argv)</div><div>window = MainWindow()</div><div>window.show()</div><div>app.exec_()</div></div><div><br></div><div>When I set the "setMaxWidth" I can't use the Windows AeroSnap anymore, why?</div><div><br></div><div>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.</div>