1# RowSplit 2 3The **RowSplit** lays out child components horizontally and inserts a vertical divider between every two child components. 4 5> **NOTE** 6> 7> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. 8 9## Child Components 10 11Supported 12 13This component limits the width of its child components through dividers. During initialization, the divider positions are calculated based on the width of its child components. After initialization, changes to the width of the child components do not take effect. Still, the space occupied by the child components can be changed by dragging the dividers between them. 14 15After initialization, if, due to dynamic changes to the [margin](ts-universal-attributes-size.md#margin), [border](ts-universal-attributes-border.md#border), or [padding](ts-universal-attributes-size.md#padding) attributes, the width of the child components is greater than the allowable distance between adjacent dividers, dividers cannot be dragged to adjust the width of the child components. 16## APIs 17 18RowSplit() 19 20## Attributes 21 22### resizeable 23 24resizeable(value: boolean) 25 26Sets whether the divider can be dragged. 27 28**Atomic service API**: This API can be used in atomic services since API version 11. 29 30**System capability**: SystemCapability.ArkUI.ArkUI.Full 31 32**Parameters** 33 34| Name| Type| Mandatory| Description| 35| -------- | -------- | -------- | -------- | 36| value | boolean | Yes| Whether the divider can be dragged.<br>Default value: **false**| 37 38> **NOTE** 39> 40> The divider of **RowSplit** can change the width of the left and right child components, but only to the extent that the resultant width falls within the maximum and minimum widths of the child components. 41> 42> Universal attributes such as [clip](ts-universal-attributes-sharp-clipping.md#clip) and [margin](ts-universal-attributes-size.md#margin) are supported. If **clip** is not set, the default value **true** is used. 43 44 45## Example 46 47```ts 48// xxx.ets 49@Entry 50@Component 51struct RowSplitExample { 52 build() { 53 Column() { 54 Text('The second line can be dragged').fontSize(9).fontColor(0xCCCCCC).width('90%') 55 RowSplit() { 56 Text('1').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 57 Text('2').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 58 Text('3').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 59 Text('4').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 60 Text('5').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 61 } 62 .resizeable(true) // The divider can be dragged. 63 .width('90%').height(100) 64 }.width('100%').margin({ top: 5 }) 65 } 66} 67``` 68 69 70