mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-13 00:30:25 +08:00
Change the styling - Now the dock widget side tab has a gray left/right
edge border when not selected
This commit is contained in:
parent
a279e71535
commit
be4e5a88a6
@ -10,7 +10,7 @@ ads--CDockContainerWidget > QSplitter{
|
|||||||
|
|
||||||
ads--CDockAreaWidget {
|
ads--CDockAreaWidget {
|
||||||
background: palette(window);
|
background: palette(window);
|
||||||
border: 1px solid white;
|
border: 1px solid white
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CDockWidgetTab {
|
ads--CDockWidgetTab {
|
||||||
@ -24,10 +24,16 @@ ads--CDockWidgetTab {
|
|||||||
|
|
||||||
ads--CDockWidgetSideTab {
|
ads--CDockWidgetSideTab {
|
||||||
background: palette(window);
|
background: palette(window);
|
||||||
border-color: white;
|
}
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px 0px 1px 0px;
|
ads--CDockWidgetSideTab[sideTabBarArea="Left"] {
|
||||||
padding: 0 0px;
|
border-left: 3px solid grey;
|
||||||
|
border-bottom: 1px solid white;
|
||||||
|
}
|
||||||
|
|
||||||
|
ads--CDockWidgetSideTab[sideTabBarArea="Right"] {
|
||||||
|
border-right: 3px solid grey;
|
||||||
|
border-bottom: 1px solid white;
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CDockWidgetTab[activeTab="true"] {
|
ads--CDockWidgetTab[activeTab="true"] {
|
||||||
@ -113,16 +119,12 @@ ads--CDockWidgetTab[focused="true"] {
|
|||||||
border-color: palette(highlight);
|
border-color: palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CDockWidgetSideTab[sideTabBarArea="Left"][focused="true"] {
|
|
||||||
border-width: 0px 0px 0px 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
ads--CDockWidgetSideTab[sideTabBarArea="Right"][focused="true"] {
|
ads--CDockWidgetSideTab[sideTabBarArea="Right"][focused="true"] {
|
||||||
border-width: 0px 3px 0px 0px;
|
border-right: 3px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CDockWidgetSideTab[focused="true"] {
|
ads--CDockWidgetSideTab[sideTabBarArea="Left"][focused="true"] {
|
||||||
border-color: palette(highlight);
|
border-left: 3px solid palette(highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
ads--CDockWidgetTab[focused="true"]>#tabCloseButton {
|
ads--CDockWidgetTab[focused="true"]>#tabCloseButton {
|
||||||
|
Loading…
Reference in New Issue
Block a user