From fc0af6e99269fd45b097f3b1ee8cadd6191497a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Tue, 6 Apr 2021 17:07:48 +0800 Subject: [PATCH] clip children --- doric-Qt/doric/resources/hlayout.qml | 2 ++ doric-Qt/doric/resources/stack.qml | 2 ++ doric-Qt/doric/resources/vlayout.qml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/doric-Qt/doric/resources/hlayout.qml b/doric-Qt/doric/resources/hlayout.qml index 2f51ad70..315b21cc 100644 --- a/doric-Qt/doric/resources/hlayout.qml +++ b/doric-Qt/doric/resources/hlayout.qml @@ -8,6 +8,8 @@ import "gravity.mjs" as Gravity Rectangle { property int wrapper: 0 + clip: true + property var tag: "HLayout" property var uuid: Util.uuidv4() diff --git a/doric-Qt/doric/resources/stack.qml b/doric-Qt/doric/resources/stack.qml index 5bd1e097..53a39296 100644 --- a/doric-Qt/doric/resources/stack.qml +++ b/doric-Qt/doric/resources/stack.qml @@ -7,6 +7,8 @@ import "util.mjs" as Util Rectangle { property int wrapper: 0 + clip: true + property var uuid: Util.uuidv4() property int widthSpec: 0 diff --git a/doric-Qt/doric/resources/vlayout.qml b/doric-Qt/doric/resources/vlayout.qml index 2a46ecc6..692bfd44 100644 --- a/doric-Qt/doric/resources/vlayout.qml +++ b/doric-Qt/doric/resources/vlayout.qml @@ -8,6 +8,8 @@ import "gravity.mjs" as Gravity Rectangle { property int wrapper: 0 + clip: true + property var tag: "VLayout" property var uuid: Util.uuidv4()