diff options
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveDetailsEdit.qml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml index d7847cb56..aae436cfe 100644 --- a/mobile-widgets/qml/DiveDetailsEdit.qml +++ b/mobile-widgets/qml/DiveDetailsEdit.qml @@ -121,6 +121,25 @@ Item { if (checked) gpsText = manager.getCurrentPosition() } + indicator: Rectangle { + implicitWidth: 20 + implicitHeight: 20 + x: checkboxGPS.leftPadding + y: parent.height / 2 - height / 2 + radius: 4 + border.color: checkboxGPS.down ? subsurfaceTheme.PrimaryColor : subsurfaceTheme.darkerPrimaryColor + color: subsurfaceTheme.backgroundColor + + Rectangle { + width: 12 + height: 12 + x: 4 + y: 4 + radius: 3 + color: checkboxGPS.down ? subsurfaceTheme.PrimaryColor : subsurfaceTheme.darkerPrimaryColor + visible: checkboxGPS.checked + } + } } Kirigami.Label { |