Re: [PyQt] question about size hints

2010-05-01 Thread Yao Ko
Have you tried to set the size policy to: """ ... class Test(QtGui.QWidget): ... self.setSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding) ... """ The Test widget will have the minimum size specified by the sizeHint, and ye

Re: [PyQt] question about size hints

2010-05-01 Thread Darren Dale
Please excuse me for bumping. Does anyone have a suggestion? On Sun, Apr 18, 2010 at 12:42 PM, Darren Dale wrote: > I have a question about size hints that can be illustrated with the > simple example below. If I create my Test widget so it returns a size > hint of (200,100), it is rendered with