UserInterface: more adjustments

This commit is contained in:
Ly-sec
2025-12-02 15:24:49 +01:00
parent 19fde6731a
commit d31e69ad63
32 changed files with 87 additions and 86 deletions
+2 -2
View File
@@ -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