[Stylesheet] Update dark theme tree color and tab bar background (#22596)
* Update dark theme tree color and tab bar background Changed the TreeActiveColor value in the FreeCAD Dark preference pack for improved visibility. Set the QTabBar background color to use @PrimaryColor in the stylesheet for fixing drawbase issues. * Differentiate QTabBar styles for mdiAreaTabBar Separated the QTabBar#mdiAreaTabBar styling from the general QTabBar, setting qproperty-drawBase and background-color specifically for mdiAreaTabBar. The general QTabBar now has qproperty-drawBase set to 0, improving style specificity for file tab bars.
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
<FCParamGroup Name="TreeView">
|
||||
<FCInt Name="FontSize" Value="11"/>
|
||||
<FCInt Name="ItemBackgroundPadding" Value="11"/>
|
||||
<FCUInt Name="TreeActiveColor" Value="556083711"/>
|
||||
<FCUInt Name="TreeActiveColor" Value="899696639"/>
|
||||
<FCUInt Name="TreeEditColor" Value="1434171135"/>
|
||||
</FCParamGroup>
|
||||
<FCParamGroup Name="View">
|
||||
|
||||
@@ -1785,8 +1785,14 @@ QTabBar#mdiAreaTabBar::tab:bottom:selected {
|
||||
border-top: @3DViewBackgroundRefColor;
|
||||
}
|
||||
|
||||
QTabBar {
|
||||
/*tabbar for files. */
|
||||
QTabBar#mdiAreaTabBar {
|
||||
qproperty-drawBase: 1;/*tabbar for files. */
|
||||
background-color: @PrimaryColor;
|
||||
}
|
||||
|
||||
QTabBar {
|
||||
qproperty-drawBase: 0;/*tabbar for files. */
|
||||
}
|
||||
|
||||
QTabWidget::tab-bar {
|
||||
|
||||
Reference in New Issue
Block a user