aboutsummaryrefslogtreecommitdiff
path: root/components/CheckBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/CheckBox.qml')
-rw-r--r--components/CheckBox.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/CheckBox.qml b/components/CheckBox.qml
index 8df364d1..b9bfe3ec 100644
--- a/components/CheckBox.qml
+++ b/components/CheckBox.qml
@@ -27,6 +27,7 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import QtQuick 2.0
+import QtQuick.Layouts 1.1
Item {
id: checkBox
@@ -40,6 +41,7 @@ Item {
signal clicked()
height: 25
width: label.x + label.width
+ Layout.minimumWidth: label.x + label.contentWidth
clip: true
Rectangle {