Hello,
I created a tab widget in QtDesigner and I am trying to make one of the tabs transparent to act as a spacer between my main tabs. I added the following line in the constructor of my MainWindow widget in attempt to do so:
ui->spacerTab->setStyleSheet("width: 1000px;" "color: transparent;" "background: transparent;");
For some reason nothing is happening. I even tried
ui->spacerTab->hide();
and that didn’t do anything either. Is there a reason why I have no control over my spacerTab in my widget. Does anyone know of a simple way to add a spacer between a set of tabs. I do not want every tab to have a spacer just one between two groups of tabs that I have.
Thanks
↧