Hello,

I have create QMainWindow with QTabWidget as a central widget. Inside
the QTabWidget there are widgets with QScrollAreas. QScrollArea
receive dynamically created widget and I expect it to resize, but it
keeps size 200, 100 - that's hardly what I want, since the inside
widget requires full screen ;-) I tried to subclassing sizeHint and
return both QScrollArea's and internal widget's size, but nothing
helps. I have to explicitly resize parent widget. I also call
updateGeometry (with parent widget properly set), but it also doesn't
help. I read Layout Classes from Qt documentation, but beside
sizeHints and updateGeometry I found nothing, that seems to help.
What's worse, I am using QLayout in the child widget (the one with
scroll area - this area is kep in a widget, thanks to this it fills it
whole), but it doesn't help.

Could you give me some advice?

-- 
Filip Gruszczyński

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to