例如 我们代码如下
import router from '@ohos.router'
@Entry
@Component
struct Index {
build() {
Row() {
Column() {
Text("年后")
Text("一起")
Text("旅游")
}
.width('100%')
}
.height('100%')
}
}
运行之后

元素都粘连到一起 显然不太好看
我们就可以通过 Column 组件的 space 设置他们之间的间距
例如 这里我们设为 12

设为 40










![[Verilog] 加法器实现](https://img-blog.csdnimg.cn/direct/5a6e645cba2e49e8a0cdcf1883984cb1.png)









