|
@@ -563,7 +563,7 @@ struct SelectMaterialBoxDialog {
|
|
|
|
|
|
// 动态排列容器
|
|
|
Scroll() {
|
|
|
- Flex({ wrap: FlexWrap.Wrap, direction: FlexDirection.Column, justifyContent: FlexAlign.Start, alignItems: ItemAlign.Start}) {
|
|
|
+ Flex({ wrap: FlexWrap.Wrap, direction: FlexDirection.Row, justifyContent: FlexAlign.Start, alignItems: ItemAlign.Start}) {
|
|
|
ForEach(this.MaterialBoxInfos, (item: MaterialBoxInfo, index: number) => {
|
|
|
Column({ space: 5 }) {
|
|
|
Row() {
|
|
@@ -627,6 +627,7 @@ struct SelectMaterialBoxDialog {
|
|
|
.scrollBar(BarState.Auto)
|
|
|
.width('96.6%')
|
|
|
.height('82.7%')
|
|
|
+ .align(Alignment.Top)
|
|
|
|
|
|
Divider().vertical(false).color($r('app.color.15FFFFFF'))
|
|
|
.width('100%')
|