提交 863b01a3 编写于 作者: T tengfan66

update sidebar

Signed-off-by: Ntengfan66 <tengfan3@huawei.com>
上级 2071f6d5
...@@ -129,8 +129,6 @@ struct SideBarContainerExample { ...@@ -129,8 +129,6 @@ struct SideBarContainerExample {
}.width('100%') }.width('100%')
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
.backgroundColor('#19000000') .backgroundColor('#19000000')
Column() { Column() {
Text('SideBarContainer content text1').fontSize(25) Text('SideBarContainer content text1').fontSize(25)
Text('SideBarContainer content text2').fontSize(25) Text('SideBarContainer content text2').fontSize(25)
...@@ -150,6 +148,7 @@ struct SideBarContainerExample { ...@@ -150,6 +148,7 @@ struct SideBarContainerExample {
.onChange((value: boolean) => { .onChange((value: boolean) => {
console.info('status:' + value) console.info('status:' + value)
}) })
.divider({strokeWidth: '1vp', color: Color.Gray, startMargin: '4vp', endMargin: '4vp'})
} }
} }
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册