Fix menu bar colors.
This commit is contained in:
@@ -8,10 +8,16 @@ import QtQuick.Controls
|
||||
import clide.module 1.0
|
||||
|
||||
MenuBar {
|
||||
// Background for this MenuBar.
|
||||
background: Rectangle {
|
||||
color: RustColors.menubar
|
||||
border.color: RustColors.explorer_background
|
||||
}
|
||||
|
||||
// Base settings for each Menu.
|
||||
component ClideMenu : Menu {
|
||||
background: Rectangle {
|
||||
color: RustColors.menubar
|
||||
color: RustColors.explorer_background
|
||||
implicitWidth: 100
|
||||
radius: 2
|
||||
}
|
||||
@@ -23,7 +29,7 @@ MenuBar {
|
||||
|
||||
background: Rectangle {
|
||||
color: root.hovered ? RustColors.hovered : RustColors.unhovered
|
||||
radius: 2.5
|
||||
radius: 1.0
|
||||
}
|
||||
contentItem: IconLabel {
|
||||
color: "black"
|
||||
@@ -32,13 +38,6 @@ MenuBar {
|
||||
}
|
||||
}
|
||||
|
||||
// Background for this MenuBar.
|
||||
background: Rectangle {
|
||||
color: RustColors.menubar
|
||||
border.color: RustColors.menubar_border
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// File Menu
|
||||
Action {
|
||||
@@ -79,7 +78,7 @@ MenuBar {
|
||||
MenuSeparator {
|
||||
background: Rectangle {
|
||||
border.color: color
|
||||
color: RustColors.menubar_border
|
||||
color: RustColors.explorer_background
|
||||
implicitHeight: 3
|
||||
implicitWidth: 200
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user