The toolbutton overlap with the tab in QTabBar.
-
QTabBar QToolButton { border: none; } QTabBar QToolButton::left-arrow { image: url(:/images/left_arrow_normal.svg); background-color: rgb(228, 229, 231); border-left: 1px solid rgb(179, 179, 179); } QTabBar QToolButton::right-arrow { image: url(:/images/right_arrow_normal.svg); background-color: rgb(228, 229, 231); }
The upper one is vmware workstation, the nether one is my software.
Just focus on the two toolbuttons in the tabbar, we can get that the toolbuttons in my software overlaps with the tab, but vmware workstation don't (no overlap, it looks very clear).
I thinked it for a long time, but i can't find a good solution to implement the no-overlap toolbuttons .
Can someone give me any advice?
-
Images confused me. Can you show your sample program on how you are using the tabBar & scrollBar ? What is the use case you get the issue. Better you post the separate image in pasteBin and provide link here.
-
@dheerendra Yes, i update them.
-
Can you give sample of your program which is using the QTabbar ? How scroll bar is related here ? Are you adding any ScrollBar on your own ?
-
@dheerendra Sorry, maybe i misunderstand the scroller. What actually i mean is the toobuttons in tabbar, i mark them in the upper pics.
-
This seems to be bug. It is not fixed also.
-
Does this only apply to MacOS? If not I would take a look on it.
-
@Christian-Ehrlicher My platform is Windows 10.