mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-24 05:22:06 +08:00
fix the border styling of the dock widget side tab when not focused
This commit is contained in:
parent
ecccba4536
commit
5ddb02cc8e
@ -24,19 +24,12 @@ ads--CDockWidgetTab {
|
||||
|
||||
ads--CDockWidgetSideTab {
|
||||
background: palette(window);
|
||||
border-color: palette(light);
|
||||
border-color: white;
|
||||
border-style: solid;
|
||||
border-width: 1px 0px 1px 0px;
|
||||
padding: 0 0px;
|
||||
}
|
||||
|
||||
ads--CDockWidgetSideTab[sideTabBarArea="Left"] {
|
||||
border-width: 0px 0px 0px 3px;
|
||||
}
|
||||
|
||||
ads--CDockWidgetSideTab[sideTabBarArea="Right"] {
|
||||
border-width: 0px 3px 0px 0px;
|
||||
}
|
||||
|
||||
ads--CDockWidgetTab[activeTab="true"] {
|
||||
background: qlineargradient(spread : pad, x1 : 0, y1 : 0, x2 : 0, y2 : 0.5, stop : 0
|
||||
palette(window), stop:1 palette(light));
|
||||
@ -120,6 +113,14 @@ ads--CDockWidgetTab[focused="true"] {
|
||||
border-color: palette(highlight);
|
||||
}
|
||||
|
||||
ads--CDockWidgetSideTab[sideTabBarArea="Left"][focused="true"] {
|
||||
border-width: 0px 0px 0px 3px;
|
||||
}
|
||||
|
||||
ads--CDockWidgetSideTab[sideTabBarArea="Right"][focused="true"] {
|
||||
border-width: 0px 3px 0px 0px;
|
||||
}
|
||||
|
||||
ads--CDockWidgetSideTab[focused="true"] {
|
||||
border-color: palette(highlight);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user