Stylesheet update

Updated stylesheet to use svg icon for close button instead of system icon
This commit is contained in:
Uwe Kindler 2020-06-11 08:36:01 +02:00
parent e71884b23d
commit caa1a9f330
4 changed files with 8 additions and 11 deletions

View File

@ -77,6 +77,8 @@ QScrollArea#dockWidgetScrollArea
background: none; background: none;
border: none; border: none;
padding: 0px -2px; padding: 0px -2px;
qproperty-icon: url(:/ads/images/close-button.svg);
qproperty-iconSize: 16px;
} }
#tabCloseButton:hover #tabCloseButton:hover

View File

@ -79,6 +79,8 @@ QScrollArea#dockWidgetScrollArea
background: none; background: none;
border: none; border: none;
padding: 0px -2px; padding: 0px -2px;
qproperty-icon: url(:/ads/images/close-button.svg);
qproperty-iconSize: 16px;
} }
#tabCloseButton:hover #tabCloseButton:hover

View File

@ -73,6 +73,8 @@ QScrollArea#dockWidgetScrollArea
background: none; background: none;
border: none; border: none;
padding: 0px -2px; padding: 0px -2px;
qproperty-icon: url(:/ads/images/close-button.svg);
qproperty-iconSize: 16px;
} }
#tabCloseButton:hover #tabCloseButton:hover
@ -86,12 +88,6 @@ QScrollArea#dockWidgetScrollArea
background: rgba(0, 0, 0, 48); background: rgba(0, 0, 0, 48);
} }
#tabCloseButton
{
qproperty-icon: url(:/ads/images/close-button.svg);
qproperty-iconSize: 16px;
}
ads--CDockSplitter::handle ads--CDockSplitter::handle
{ {

View File

@ -79,6 +79,8 @@ QScrollArea#dockWidgetScrollArea
background: none; background: none;
border: none; border: none;
padding: 0px -2px; padding: 0px -2px;
qproperty-icon: url(:/ads/images/close-button.svg);
qproperty-iconSize: 16px;
} }
#tabCloseButton:hover #tabCloseButton:hover
@ -92,11 +94,6 @@ QScrollArea#dockWidgetScrollArea
background: rgba(0, 0, 0, 48); background: rgba(0, 0, 0, 48);
} }
#tabCloseButton
{
qproperty-icon: url(:/ads/images/close-button.svg);
qproperty-iconSize: 16px;
}
/* Focus related styling */ /* Focus related styling */
ads--CDockWidgetTab[focused="true"] ads--CDockWidgetTab[focused="true"]