Replace tons of hardcoded stuff

This commit is contained in:
Ly-sec 2025-08-16 01:17:44 +02:00
parent 2a5a3a1b78
commit c673b897cb
27 changed files with 155 additions and 161 deletions

View file

@ -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 {