Seems like it's not working either
//first try
//w.setMinimumWidth(100);
//second try, with all the different flag possibilities
/*QSizePolicy sp;
sp.setHorizontalPolicy( QSizePolicy::Expanding);
sp.setVerticalPolicy( QSizePolicy::Expanding);
w.setSizePolicy( sp );*/
ui.toolBar2->insertWidget(ui.firstQActionInTheSecondToolbar, &w);
QWidget w;
//first try
//w.setMinimumWidth(100);
//second try, with all the different flag possibilities
/*QSizePolicy sp;
sp.setHorizontalPolicy( QSizePolicy::Expanding);
sp.setVerticalPolicy( QSizePolicy::Expanding);
w.setSizePolicy( sp );*/
ui.toolBar2->insertWidget(ui.firstQActionInTheSecondToolbar, &w);
To copy to clipboard, switch view to plain text mode
I'll try the third toolbar with a widget expanding which will be always before the second toolbar.
Bookmarks