summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Base/CheckBoxStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/CheckBoxStyle.qml')
-rw-r--r--src/controls/Styles/Base/CheckBoxStyle.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controls/Styles/Base/CheckBoxStyle.qml b/src/controls/Styles/Base/CheckBoxStyle.qml
index 6fbdaede..e89e862a 100644
--- a/src/controls/Styles/Base/CheckBoxStyle.qml
+++ b/src/controls/Styles/Base/CheckBoxStyle.qml
@@ -39,6 +39,7 @@
****************************************************************************/
import QtQuick 2.2
import QtQuick.Controls 1.2
+import QtQuick.Layouts 1.1
import QtQuick.Window 2.1
import QtQuick.Controls.Private 1.0
@@ -168,7 +169,7 @@ Style {
sourceComponent: background
anchors.fill: parent
}
- Row {
+ RowLayout {
id: row
anchors.fill: parent
@@ -185,6 +186,7 @@ Style {
}
Loader {
id: labelLoader
+ Layout.fillWidth: true
sourceComponent: label
anchors.verticalCenter: parent.verticalCenter
}