[Qt-interest] Fit MdiSubWindow to it's content widget

John McClurkin jwm at nei.nih.gov
Wed Oct 20 14:24:14 CEST 2010


velociraptor Genjix wrote:
> Hey,
> I wish to fit a QMdiSubWindow around it's contents without scroll bars. Googling I found 2 other people asking on forums without an answer.
> Resizing the MdiSubWindow to 100x100, makes the total window (including the decorations) to 100x100http://img684.imageshack.us/img684/5351/mdiresize.jpgResizing the widget doesn't change the sub window.http://img85.imageshack.us/img85/4641/widgetresize.jpg
> I'd prefer to size the widget to whatever and then fit the sub window to it's size without scroll bars.
> Thanks!
> http://www.archivum.info/qt-interest@trolltech.com/2010-06/00882/(Qt-interest)-Resize-QMdiSubWindow-to-fit-its-contents.htmlSomeone else asking if it makes it clear what I'm trying to do. 		 	   		  
Clicking on this link gets me a 404 error.



More information about the Qt-interest-old mailing list