diff options
Diffstat (limited to 'src/styles/Base/RadioButtonStyle.qml')
-rw-r--r-- | src/styles/Base/RadioButtonStyle.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/styles/Base/RadioButtonStyle.qml b/src/styles/Base/RadioButtonStyle.qml index 49d15e3d..ef3f2229 100644 --- a/src/styles/Base/RadioButtonStyle.qml +++ b/src/styles/Base/RadioButtonStyle.qml @@ -45,13 +45,14 @@ import QtQuick.Controls.Private 1.0 \qmltype RadioButtonStyle \inqmlmodule QtQuick.Controls.Styles 1.0 \since QtQuick.Controls.Styles 1.0 + \ingroup controlsstyling \brief Provides custom styling for RadioButton Example: \qml RadioButton { text: "Radio Button" - style: RadioButtonStyle{ + style: RadioButtonStyle { indicator: Rectangle { implicitWidth: 16 implicitHeight: 16 @@ -65,14 +66,13 @@ import QtQuick.Controls.Private 1.0 radius: 9 anchors.margins: 4 } - } } } - } + } \endqml */ -PaddedStyle { +Style { id: radiobuttonStyle /*! \internal */ @@ -83,7 +83,7 @@ PaddedStyle { /*! The \l RadioButton attached to this style. */ readonly property RadioButton control: __control - /*! The text label. */ + /*! This defines the text label. */ property Component label: Text { text: control.text renderType: Text.NativeRendering @@ -97,7 +97,7 @@ PaddedStyle { /*! The spacing between indicator and label. */ property int spacing: 4 - /*! The indicator button. */ + /*! This defines the indicator button. */ property Component indicator: Rectangle { width: 17 height: 17 |