Form 0 0 400 300 Form QTabBar { background: #1b1b1b; min-width:200; } QTabBar::tab { background: #1b1b1b; color: #c8c8c8; } QTabBar::tab:hover { color: white; background: #262626; } QTabBar::tab:selected { background: #2b2b2b; color: white; } 1 true Tab 1 Tab 2