diff --git a/doric-Qt/doric/resources/Flex.qml b/doric-Qt/doric/resources/Flex.qml index a9ea9165..409ff709 100644 --- a/doric-Qt/doric/resources/Flex.qml +++ b/doric-Qt/doric/resources/Flex.qml @@ -2,7 +2,7 @@ import QtQuick 2.12 import QtQuick.Layouts 1.15 import pub.doric.widget 1.0 -Item { +Rectangle { id: flex property int minHeight: 0 diff --git a/doric-demo/src/SimpleDemo.ts b/doric-demo/src/SimpleDemo.ts index a14eb15e..3826614d 100644 --- a/doric-demo/src/SimpleDemo.ts +++ b/doric-demo/src/SimpleDemo.ts @@ -65,7 +65,7 @@ class LayoutDemo extends Panel { height: 300, }) ], { - width: 300, + width: 400, height: 300, backgroundColor: Color.BLACK }).in(rootView)