fix(qml): 修改开始菜单右侧区域按钮三态
This commit is contained in:
parent
5670dcb391
commit
594d455a38
|
@ -37,6 +37,8 @@ Item {
|
|||
UkuiItems.Button {
|
||||
id: fullScreenButton
|
||||
visible: !isLiteMode
|
||||
background.paletteRole: Platform.Theme.WindowText
|
||||
background.alpha: containsPress ? 0.15 : containsMouse ? 0.08 : 0.0
|
||||
|
||||
Layout.preferredWidth: 36
|
||||
Layout.preferredHeight: 36
|
||||
|
@ -82,6 +84,8 @@ Item {
|
|||
|
||||
UkuiItems.Button {
|
||||
id: userInfoButton
|
||||
background.paletteRole: Platform.Theme.WindowText
|
||||
background.alpha: containsPress ? 0.15 : containsMouse ? 0.08 : 0.0
|
||||
|
||||
Layout.preferredWidth: 36
|
||||
Layout.preferredHeight: 36
|
||||
|
@ -110,6 +114,8 @@ Item {
|
|||
|
||||
UkuiItems.Button {
|
||||
id: computerButton
|
||||
background.paletteRole: Platform.Theme.WindowText
|
||||
background.alpha: containsPress ? 0.15 : containsMouse ? 0.08 : 0.0
|
||||
|
||||
Layout.preferredWidth: 36
|
||||
Layout.preferredHeight: 36
|
||||
|
@ -138,6 +144,8 @@ Item {
|
|||
|
||||
UkuiItems.Button {
|
||||
id: setButton
|
||||
background.paletteRole: Platform.Theme.WindowText
|
||||
background.alpha: containsPress ? 0.15 : containsMouse ? 0.08 : 0.0
|
||||
|
||||
Layout.preferredWidth: 36
|
||||
Layout.preferredHeight: 36
|
||||
|
@ -167,6 +175,9 @@ Item {
|
|||
|
||||
UkuiItems.Button {
|
||||
id: powerButton
|
||||
background.paletteRole: Platform.Theme.WindowText
|
||||
background.alpha: containsPress ? 0.15 : containsMouse ? 0.08 : 0.0
|
||||
|
||||
Layout.preferredWidth: 36
|
||||
Layout.preferredHeight: 36
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
|
Loading…
Reference in New Issue