diff options
Diffstat (limited to 'src/styles/Base/ButtonStyle.qml')
-rw-r--r-- | src/styles/Base/ButtonStyle.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/styles/Base/ButtonStyle.qml b/src/styles/Base/ButtonStyle.qml index a524d93f..519e4d67 100644 --- a/src/styles/Base/ButtonStyle.qml +++ b/src/styles/Base/ButtonStyle.qml @@ -45,6 +45,7 @@ import QtQuick.Controls.Private 1.0 \qmltype ButtonStyle \inqmlmodule QtQuick.Controls.Styles 1.0 \since QtQuick.Controls.Styles 1.0 + \ingroup controlsstyling \brief Provides custom styling for Button You can create a custom button by replacing the "background" delegate @@ -72,7 +73,7 @@ import QtQuick.Controls.Private 1.0 If you need a custom label, you can replace the label item. */ -PaddedStyle { +Style { id: buttonstyle /*! The \l Button attached to this style. */ @@ -92,7 +93,7 @@ PaddedStyle { bottom: 4 } - /*! The background of the button. */ + /*! This defines the background of the button. */ property Component background: Item { implicitWidth: 100 implicitHeight: 25 @@ -129,7 +130,7 @@ PaddedStyle { } } - /*! The label of the button. */ + /*! This defines the label of the button. */ property Component label: Text { renderType: Text.NativeRendering verticalAlignment: Text.AlignVCenter |