c++ - size[policy] of nested QMainWindows -


i've got qmainwindow in qtabwidget in a[n otherwise empty] qvboxlayout in qwidget in qtabwidget in qmainwindow.

but size of internal qmainwindow being reported 640x480 (the size of external qmainwindow) when sizehint reported 70x26 (smaller widgets inside internal qmainwindow). looks 70x26 me.

how can adjust size stretch fill internal qtabwidget/qvboxlayout/qwidget?

the internal qmainwindow has qtextedit central widget , qcombobox in qdockwidget on bottom docking area. external qtabwidget has other qwidgets work fine.


Comments