[Interest] QMdiSubWindow doesn't adjust its size

2014-02-04 Thread John Weeks
I have a moderately complex compound widget contained within a QMdiSubWindow. Certain user actions may cause the widgets to change size. Since everything is contained within layouts, I would expect the QMdiSubWindow to adjust its size, but it doesn't.Initial appearance:A user action causes

Re: [Interest] QMdiSubWindow doesn't adjust its size

2014-02-04 Thread Tony Rietwyk
Sent: Wednesday, 5 February 2014 5:42 AM To: Interest@qt-project.org Interest Subject: [Interest] QMdiSubWindow doesn't adjust its size I have a moderately complex compound widget contained within a QMdiSubWindow. Certain user actions may cause the widgets to change size. Since everything

Re: [Interest] QMdiSubWindow doesn't adjust its size

2014-02-04 Thread John Weeks
Hmm... Calling ensurePolished() on the widget containing all that content seems to do the trick. That is, I'm not calling it on the QMdiSubWindow. Now I'm really confused. -John Weeks ___ Interest mailing list Interest@qt-project.org

Re: [Interest] QMdiSubWindow doesn't adjust its size

2014-02-04 Thread John Weeks
Hmm... Calling ensurePolished() on the widget containing all that content seems to do the trick. That is, I'm not calling it on the QMdiSubWindow. Now I'm really confused. I was confused. Sorry for the noise. -John Weeks ___ Interest mailing