summaryrefslogtreecommitdiff
path: root/gui/components/WrappedRadioButton.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-09-30 23:37:32 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-11-23 21:51:11 +0100
commit79d25833bfd261c36d954cf57845e5a416aaf849 (patch)
tree6b24dddc7d396e6a0cc5da3ab098ba459e836a5d /gui/components/WrappedRadioButton.qml
parentd7e65d5cd3ca87b7ebc11cc5f6e9bfd4e9cefbfd (diff)
[ui] size tweaks and new assets
plus work on the systray menu
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