Hi,
I've created a scrollArea in a widget and added another widget "pjob" to it,
But it does not scroll automatically as it's described in the Class Reference.
(The Image Viewer example also was not a really help) In the Designer i set: Vertical: ScrollbarAlwaysOn and Horizontal: ScrollBarAsNeeded
Do i have to tell the scrollArea the size of the widget pjob, or does that happen automatically?
Do i need scrollAreaWidgetContents? (It's not in the Qt 4.5 docu ??)
any ideas?
Thanx Astronomy
Qt Code:
m_ui->setupUi(this); Jobs *pjob = new Jobs(); m_ui->scrollArea->setWidget(pjob); m_ui->scrollArea->setWidgetResizable(true);To copy to clipboard, switch view to plain text mode
Bookmarks