This commit is contained in:
朱子楚\zhuzi 2023-06-21 00:43:05 +08:00
parent 9f2c58306c
commit cbb8c3122b
2 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ T.Menu {
}
background: Rectangle {
implicitWidth: 150
implicitHeight: 34
implicitHeight: 36
color:FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(240/255,240/255,240/255,1)
border.color: FluTheme.dark ? Window.active ? Qt.rgba(55/255,55/255,55/255,1):Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
border.width: 1

View File

@ -60,14 +60,14 @@ T.MenuItem {
}
background: Item {
implicitWidth: 150
implicitHeight: 34
implicitHeight: 36
x: 1
y: 1
width: control.width - 2
height: control.height - 2
Rectangle{
anchors.fill: parent
anchors.margins: 2
anchors.margins: 3
radius: 4
color:{
if(FluTheme.dark){
@ -77,7 +77,7 @@ T.MenuItem {
return Qt.rgba(0,0,0,0)
}else{
if(control.highlighted){
return Qt.rgba(0,0,0,0.03)
return Qt.rgba(0,0,0,0.06)
}
return Qt.rgba(0,0,0,0)
}