mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
UserInterface: separate slider for UI & Input
This commit is contained in:
@@ -15,7 +15,7 @@ RadioButton {
|
||||
|
||||
implicitWidth: Style.baseWidgetSize * 0.625 * pointSize / Style.fontSizeM
|
||||
implicitHeight: Style.baseWidgetSize * 0.625 * pointSize / Style.fontSizeM
|
||||
radius: Math.min(Style.radiusL, width / 2)
|
||||
radius: Math.min(Style.cRadiusL, width / 2)
|
||||
color: Color.transparent
|
||||
border.color: root.checked ? Color.mPrimary : Color.mOnSurface
|
||||
border.width: Style.borderM
|
||||
@@ -25,7 +25,7 @@ RadioButton {
|
||||
anchors.fill: parent
|
||||
anchors.margins: parent.width * 0.3
|
||||
|
||||
radius: Math.min(Style.radiusL, width / 2)
|
||||
radius: Math.min(Style.cRadiusL, width / 2)
|
||||
color: Qt.alpha(Color.mPrimary, root.checked ? 1 : 0)
|
||||
|
||||
Behavior on color {
|
||||
|
||||
Reference in New Issue
Block a user