Problem with QTabBar tabs hovering when hover scroller buttons
Unsolved
General and Desktop
-
Hello!
I have a problem with QTabBar tabs hovering when hover scroller buttons.
Here are the styles I applied:QTabWidget::pane {background-color: #f1f1f1; border:none;} QTabWidget::tab-bar {width: auto; height: 28px; left: 112px;} QTabBar::tab {width:135px; background-color: #f1f1f1; border: 0 none; min-width: 41px; max-width: 135px; height: 28px; margin: 0 0 0 0;} QTabBar::tab {border-right: 1px solid #a5a5a5;} QTabBar::tab:hover{background-color: #cecece;} QTabBar::tab:selected{background-color: #515252;} QTabBar::tab-label{active:#fff;normal:#444;}
I also tried to redefine stylesSheet when hovering over scroller buttons,
but in this case another problem appears: tabs moves to its original position
each time when changing styleSheet. -
Hi,
Is that the selected tab ?
-
I tried to redefine the parent for these buttons of scroller (for the QToolButton's), in this case,
there is no overlap on hover, but the width of the buttons do not always turn out to be the same
(despite the fact that in css tables they are defined as buttons of the same width).