Re: [PyQt] Resizing window to smartly fit the contents

2011-11-24 Thread Matt Newell
.minimumSizeHint()* returns the minimum recommended size. you > > can set these to resize your widget. > > > > -- > > > > *From:* Tom Bennett > > *To:* pyqt@riverbankcomputing.com > > *Sent:* Thursday, November 24, 2011 9:43

Re: [PyQt] Resizing window to smartly fit the contents

2011-11-24 Thread Tom Bennett
your widget. > > -- > *From:* Tom Bennett > *To:* pyqt@riverbankcomputing.com > *Sent:* Thursday, November 24, 2011 9:43 AM > *Subject:* [PyQt] Resizing window to smartly fit the contents > > Hi, > > I have a window that contains a composite

Re: [PyQt] Resizing window to smartly fit the contents

2011-11-24 Thread Tayfun Kayhan
@riverbankcomputing.com Sent: Thursday, November 24, 2011 9:43 AM Subject: [PyQt] Resizing window to smartly fit the contents Hi,   I have a window that contains a composite widget that in turn contains some basic widgets and a table view. Depending on different situations, the table view can have a little or a

[PyQt] Resizing window to smartly fit the contents

2011-11-23 Thread Tom Bennett
Hi, I have a window that contains a composite widget that in turn contains some basic widgets and a table view. Depending on different situations, the table view can have a little or a lot data. What I want is for the window to show a reasonable default size when it comes up. In other words, when