I have been able to resize the QTabWidget's QTabBar size, but the string inside is always limited to a fixed length.
QTabWidget *tabWidget = new QTabWidget;
tabWidget->setStyleSheet("QTabBar::tab { width: 100px; }");
tabWidget->addTab(imagesList, "abcdefghijklmnop");
The string shown is made of the central five/six characters only.
Thank you for any help,
Pietro
References: Qt Increase QTabWidget's QTabBar size