import QtQuick 2.7 import QtQuick.Controls 2.13 import "theme" import "fonts" import "." as Opaque RadioButton { id: control property color textColor: Theme.mainTextColor property color indicatorColor: Theme.boxCheckedColor indicator: Rectangle { width: Theme.uiSliderSize height: width anchors.verticalCenter: parent.verticalCenter radius: width / 2 border.width: 1 Rectangle { anchors.fill: parent visible: control.checked color: indicatorColor radius: width/2 anchors.margins: 2//thin line } } contentItem: Opaque.Label { size: Theme.textMediumPt color: textColor text: control.text bold: true leftPadding: control.indicator.width + control.spacing } }