mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
Updated linux stylesheets to fix titlebar issue on KDE
This commit is contained in:
parent
059a055483
commit
73f42d55ca
@ -130,12 +130,12 @@ ads--CDockAreaWidget[focused="true"] ads--CDockAreaTitleBar {
|
|||||||
|
|
||||||
|
|
||||||
ads--CFloatingWidgetTitleBar {
|
ads--CFloatingWidgetTitleBar {
|
||||||
background: palette(midlight);
|
|
||||||
qproperty-maximizeIcon: url(:/ads/images/maximize-button.svg);
|
qproperty-maximizeIcon: url(:/ads/images/maximize-button.svg);
|
||||||
qproperty-normalIcon: url(:/ads/images/restore-button.svg);
|
qproperty-normalIcon: url(:/ads/images/restore-button.svg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* does not properly work on KDE
|
||||||
ads--CFloatingDockContainer[isActiveWindow="true"] ads--CFloatingWidgetTitleBar {
|
ads--CFloatingDockContainer[isActiveWindow="true"] ads--CFloatingWidgetTitleBar {
|
||||||
background: palette(highlight);
|
background: palette(highlight);
|
||||||
qproperty-maximizeIcon: url(:/ads/images/maximize-button-focused.svg);
|
qproperty-maximizeIcon: url(:/ads/images/maximize-button-focused.svg);
|
||||||
@ -145,11 +145,12 @@ ads--CFloatingDockContainer[isActiveWindow="true"] ads--CFloatingWidgetTitleBar
|
|||||||
ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleLabel {
|
ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleLabel {
|
||||||
color: palette(light);
|
color: palette(light);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
#floatingTitleCloseButton, #floatingTitleMaximizeButton {
|
#floatingTitleCloseButton, #floatingTitleMaximizeButton {
|
||||||
qproperty-iconSize: 16px;
|
qproperty-iconSize: 16px;
|
||||||
border: none;
|
border: none;
|
||||||
margin: 3px;
|
margin: 6px 3px 6px 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -174,6 +175,7 @@ ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleMaximizeButton
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* does not properly work on KDE
|
||||||
ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleCloseButton {
|
ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleCloseButton {
|
||||||
qproperty-icon: url(:/ads/images/close-button-focused.svg);
|
qproperty-icon: url(:/ads/images/close-button-focused.svg);
|
||||||
qproperty-iconSize: 16px;
|
qproperty-iconSize: 16px;
|
||||||
@ -189,3 +191,4 @@ ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleCloseButton:pre
|
|||||||
ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleMaximizeButton:pressed {
|
ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleMaximizeButton:pressed {
|
||||||
background: rgba(255, 255, 255, 92);
|
background: rgba(255, 255, 255, 92);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user