There is no such method in Qt4.1.4 =(
I've tried to call adjustSize() for QTextBrowser, but it had no effect.
I've also tried with maximumViewportSize(), but the result was too large for my single row html table![]()
There is no such method in Qt4.1.4 =(
I've tried to call adjustSize() for QTextBrowser, but it had no effect.
I've also tried with maximumViewportSize(), but the result was too large for my single row html table![]()
No, it was introduced in 4.2.
You want the size of the document, not the widget.I've tried to call adjustSize() for QTextBrowser, but it had no effect.
That concerns the widget as well, not the document.I've also tried with maximumViewportSize(), but the result was too large for my single row html table![]()
As I said, try calling repaint() or update() before you fetch the document layout size.
Bookmarks