summaryrefslogtreecommitdiff
path: root/gui/components/WrappedRadioButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/components/WrappedRadioButton.qml')
-rw-r--r--gui/components/WrappedRadioButton.qml10
1 files changed, 9 insertions, 1 deletions
diff --git a/gui/components/WrappedRadioButton.qml b/gui/components/WrappedRadioButton.qml
index 04643b1..2993bc4 100644
--- a/gui/components/WrappedRadioButton.qml
+++ b/gui/components/WrappedRadioButton.qml
@@ -5,11 +5,19 @@ import QtQuick.Controls.Material.impl 2.12
import "../themes/themes.js" as Theme
-RadioButton {
+MaterialRadioButton {
id: control
width: parent.width
property var location
+ /* this works for the pointer, but breaks the onClick connection
+ XXX need to dig into RadioButton implementation.
+ MouseArea {
+ anchors.fill: parent
+ cursorShape: Qt.PointingHandCursor
+ }
+ */
+
contentItem: Label {
text: control.text
font: control.font