mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
UserInterface: more adjustments
This commit is contained in:
@@ -24,7 +24,7 @@ Rectangle {
|
||||
property color colorFgHover: Color.mOnHover
|
||||
property color colorBorder: Color.mOutline
|
||||
property color colorBorderHover: Color.mOutline
|
||||
property real customRadius: -1 // -1 means use default (cRadiusL), otherwise use this value
|
||||
property real customRadius: -1 // -1 means use default (iRadiusL), otherwise use this value
|
||||
|
||||
signal entered
|
||||
signal exited
|
||||
@@ -38,7 +38,7 @@ Rectangle {
|
||||
|
||||
opacity: root.enabled ? Style.opacityFull : Style.opacityMedium
|
||||
color: root.enabled && root.hovering ? colorBgHover : colorBg
|
||||
radius: Math.min((customRadius >= 0 ? customRadius : Style.cRadiusL), width / 2)
|
||||
radius: Math.min((customRadius >= 0 ? customRadius : Style.iRadiusL), width / 2)
|
||||
border.color: root.enabled && root.hovering ? colorBorderHover : colorBorder
|
||||
border.width: Style.borderS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user