change item to rectangle
This commit is contained in:
parent
97fdb55091
commit
78629497aa
@ -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
|
||||
|
@ -65,7 +65,7 @@ class LayoutDemo extends Panel {
|
||||
height: 300,
|
||||
})
|
||||
], {
|
||||
width: 300,
|
||||
width: 400,
|
||||
height: 300,
|
||||
backgroundColor: Color.BLACK
|
||||
}).in(rootView)
|
||||
|
Reference in New Issue
Block a user