I am new to Qt, and I just whipped up a PyQt-based implementation of Tetr*s. I am getting quite a bit of padding between the edges of the window and the edges of the area in which the blocks are drawn, and I can't seem to figure out how to set this to zero.<div>
<br></div><div>To see this, svn export the following files:</div><div><a href="http://aipytris.googlecode.com/svn/trunk/aipytris/g.py">http://aipytris.googlecode.com/svn/trunk/aipytris/g.py</a></div><div><a href="http://aipytris.googlecode.com/svn/trunk/aipytris/piece.py">http://aipytris.googlecode.com/svn/trunk/aipytris/piece.py</a></div>
<div><a href="http://aipytris.googlecode.com/svn/trunk/aipytris/observable.py">http://aipytris.googlecode.com/svn/trunk/aipytris/observable.py</a></div><div><a href="http://aipytris.googlecode.com/svn/trunk/aipytris/boardqt.py">http://aipytris.googlecode.com/svn/trunk/aipytris/boardqt.py</a></div>
<div><br></div><div>Then run boardqt.py.</div><div><br></div><div>Does anyone know how to get rid of this padding?</div><div><br></div><div>Thanks,</div><div>Josh</div>