-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
4.6.2
-
None
Simplified example showing the probelm:
Work around is to either increase the min-width to 10ex (in this case) or add a space char in front of the tab's text
QTabBar::tab {
/*border-image: url(:/OnlyOneTab_normal.png) 2 2 2 2;*/
border-top: 5px transparent;
border-bottom: 5px transparent;
border-right: 5px transparent;
border-left: 5px transparent;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
min-width: 8ex;
padding: 5px 12px 5px 12px;
border: 2px solid rgba(255, 255, 255, 0);
border-width: 0px 2px 1px 2px;
border-bottom-color: rgb(95,255,191);
margin: 1px 0px 1px 1px;
}
QTabBar::tab:selected {
border-image: none;
background-color: rgba(153, 153, 153, 255);
border-width: 1px 1px 0px 1px;
border-color: rgb(95,255,191);
margin: 0px 0px 0px 0px;
}