diff options
Diffstat (limited to 'gui/components/WrappedRadioButton.qml')
-rw-r--r-- | gui/components/WrappedRadioButton.qml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gui/components/WrappedRadioButton.qml b/gui/components/WrappedRadioButton.qml new file mode 100644 index 0000000..04643b1 --- /dev/null +++ b/gui/components/WrappedRadioButton.qml @@ -0,0 +1,21 @@ +import QtQuick 2.9 +import QtQuick.Controls 2.2 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +import "../themes/themes.js" as Theme + +RadioButton { + id: control + width: parent.width + property var location + + contentItem: Label { + text: control.text + font: control.font + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignVCenter + leftPadding: control.indicator.width + control.spacing + wrapMode: Label.Wrap + } +} |