Qt学习笔记,设置QTabWidget的TabBar的属性
ui->tabWidget->setStyleSheet("QTabBar::tab { height: 25px; width:25px;color: white; padding: 0px;}"
"QTabBar::tab:selected { background: lightgray; } ");
Qt学习笔记,设置QTabWidget的TabBar的属性
ui->tabWidget->setStyleSheet("QTabBar::tab { height: 25px; width:25px;color: white; padding: 0px;}"
"QTabBar::tab:selected { background: lightgray; } ");