remove wrap prop

This commit is contained in:
王劲鹏 2021-03-01 20:22:32 +08:00 committed by osborn
parent dd534a8d4e
commit a0fb9a4666
3 changed files with 1 additions and 3 deletions

View File

@ -3,7 +3,6 @@ import QtQuick.Controls 2.5
Flex { Flex {
flexDirection: "row" flexDirection: "row"
flexWrap: "wrap"
justifyContent: "flexStart" justifyContent: "flexStart"
alignItems: "flexStart" alignItems: "flexStart"
alignContent: "stretch" alignContent: "stretch"

View File

@ -3,7 +3,6 @@ import QtQuick.Controls 2.5
Flex { Flex {
flexDirection: "column" flexDirection: "column"
flexWrap: "wrap"
justifyContent: "flexStart" justifyContent: "flexStart"
alignItems: "flexStart" alignItems: "flexStart"
alignContent: "stretch" alignContent: "stretch"

View File

@ -3,7 +3,7 @@ import { Group, Panel, text, gravity, Color, LayoutSpec, vlayout, hlayout, scrol
@Entry @Entry
class LayoutDemo extends Panel { class LayoutDemo extends Panel {
build(rootView: Group) { build(rootView: Group) {
vlayout([ hlayout([
stack([], { stack([], {
width: 100, width: 100,
height: 100, height: 100,