mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Replace tons of hardcoded stuff
This commit is contained in:
@@ -9,12 +9,12 @@ RadioButton {
|
||||
indicator: Rectangle {
|
||||
id: outerCircle
|
||||
|
||||
implicitWidth: 20 * scaling
|
||||
implicitHeight: 20 * scaling
|
||||
implicitWidth: Style.baseWidgetSize * 0.625 * scaling
|
||||
implicitHeight: Style.baseWidgetSize * 0.625 * scaling
|
||||
radius: width * 0.5
|
||||
color: "transparent"
|
||||
border.color: root.checked ? Colors.mPrimary : Colors.mOnSurface
|
||||
border.width: 2
|
||||
border.width: Math.max(1, Style.borderMedium * scaling)
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
Rectangle {
|
||||
|
||||
Reference in New Issue
Block a user