# RowSplit 将子组件横向布局,并在每个子组件之间插入一根纵向的分割线。 ## 子组件 可以包含子组件 ## 接口 RowSplit\(\) ## 属性

名称

参数类型

描述

resizeable

boolean

分割线是否可拖拽,默认为false。

>![](../../public_sys-resources/icon-note.gif) **说明:** >RowSplit的分割线最小能拖动到刚好包含子组件。 ## 示例 ``` @Entry @Component struct RowSplitExample { build() { Column() { Text('The secant line can be dragged').fontSize(9).fontColor(0xCCCCCC).width('90%') RowSplit() { Text('1').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) Text('2').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) Text('3').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) Text('4').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) Text('5').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) } .resizeable(true) // 可拖动 .width('90%').height(100) }.width('100%').margin({ top: 5 }) } } ``` ![](figures/RowSplit.gif)