I have a QFrame dropArea with QHBoxLayout inside a QScrollArea. Now I drop widgets on it with drag and drop.
Qt Code:
ui.dropArea->layout()->addWidget(widget); ui.dropArea->adjustSize();To copy to clipboard, switch view to plain text mode
I can see the adjustSize() working, the dropArea is growing with every widget I drop. But when it reaches the limit, the scroll bars don't appear like they should. The scroll bar policies are set to the default "as needed" by Designer. What do I need to tweak?
Bookmarks