Hi,
I'm trying to programatically resize MainWindow dock widgets. I read that in Qt 5.6 resizeDocks function was introduced
http://doc.qt.io/qt-5/qmainwindow.html#resizeDocks
I did a quick test to see how it works (I'm using Qt 5.7.0):
Qt Code:
resizeDocks({ui->blueWidget, ui->yellowWidget}, {20 , 60}, Qt::Vertical); setCentralWidget(0); setDockNestingEnabled(true);To copy to clipboard, switch view to plain text mode
Unfortunately its not working at all
Anyone knows whats wrong ? How to pragmatically resize dock widgets ?
Bookmarks