Hi,
I'm using HIWebView inside a QStackedWidget which is inside a QSplitter ....
The problem is that the HIWebView gets displayed in the lower left corner of the
mainwindow instead of the upper right.
Any hint ?
Hi,
I'm using HIWebView inside a QStackedWidget which is inside a QSplitter ....
The problem is that the HIWebView gets displayed in the lower left corner of the
mainwindow instead of the upper right.
Any hint ?
Just to assure,
- splitter is set as central widget of the main window?
- stacked widget was added with QSplitter::addWidget() or QSplitter::insertWidget()?
- HIWebView was added with QStackedWidget::addWidget() or QStackedWidget::insertWidget()?
J-P Nurmi
I tried both in a QWidget and as child of a centralwidget .
And widgets where added with addWidget not insertWidget.
To be more precise I first created a WebWidget following qq20 and then used this in a tree :
QSplitter <- QStackedWidget <- WebWidget.
Since the post I did other tests. The WebWidget does not like to be in QSplitters or QStackedWidget. It is ok to add it to a QLayout (but not a nested layout).
Bookmarks