update demo
This commit is contained in:
parent
5d3ef0edb5
commit
b387491c47
@ -38,7 +38,8 @@ class MyDemo extends Panel {
|
|||||||
textColor: Color.WHITE,
|
textColor: Color.WHITE,
|
||||||
backgroundColor: colors[idx % colors.length],
|
backgroundColor: colors[idx % colors.length],
|
||||||
}))
|
}))
|
||||||
}
|
},
|
||||||
|
layoutConfig: layoutConfig().most(),
|
||||||
}),
|
}),
|
||||||
layoutConfig: layoutConfig().most(),
|
layoutConfig: layoutConfig().most(),
|
||||||
}).also(v => {
|
}).also(v => {
|
||||||
|
@ -44,7 +44,7 @@ class SliderPanel extends Panel {
|
|||||||
},
|
},
|
||||||
layoutConfig: {
|
layoutConfig: {
|
||||||
widthSpec: LayoutSpec.MOST,
|
widthSpec: LayoutSpec.MOST,
|
||||||
heightSpec: LayoutSpec.FIT,
|
heightSpec: LayoutSpec.MOST,
|
||||||
weight: 1,
|
weight: 1,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
Reference in New Issue
Block a user