The following code appears in a custom dialog constructor:
When the dialog appears, there is nothing in the scrollarea. DWatcher has a layout after its constructor exits. If I simply add the DWatcher, it works just like it's supposed to, but it can be really big so I want it in a scrollarea. Any ideas how this might happen?Qt Code:
watcher = DWatcher(None, DProperties({'value':settings})) scroller.setWidget(watcher) layout.addWidget(scroller) layout.addItem(layout2) self.setLayout(layout)To copy to clipboard, switch view to plain text mode
Bookmarks