1e41f4b71Sopenharmony_ci# RowSplit 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciThe **RowSplit** lays out child components horizontally and inserts a vertical divider between every two child components. 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **NOTE** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci## Child Components 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ciSupported 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ciThis 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. 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ciAfter 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. 16e41f4b71Sopenharmony_ci## APIs 17e41f4b71Sopenharmony_ci 18e41f4b71Sopenharmony_ciRowSplit() 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ci## Attributes 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ci### resizeable 23e41f4b71Sopenharmony_ci 24e41f4b71Sopenharmony_ciresizeable(value: boolean) 25e41f4b71Sopenharmony_ci 26e41f4b71Sopenharmony_ciSets whether the divider can be dragged. 27e41f4b71Sopenharmony_ci 28e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 29e41f4b71Sopenharmony_ci 30e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 31e41f4b71Sopenharmony_ci 32e41f4b71Sopenharmony_ci**Parameters** 33e41f4b71Sopenharmony_ci 34e41f4b71Sopenharmony_ci| Name| Type| Mandatory| Description| 35e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- | 36e41f4b71Sopenharmony_ci| value | boolean | Yes| Whether the divider can be dragged.<br>Default value: **false**| 37e41f4b71Sopenharmony_ci 38e41f4b71Sopenharmony_ci> **NOTE** 39e41f4b71Sopenharmony_ci> 40e41f4b71Sopenharmony_ci> 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. 41e41f4b71Sopenharmony_ci> 42e41f4b71Sopenharmony_ci> 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. 43e41f4b71Sopenharmony_ci 44e41f4b71Sopenharmony_ci 45e41f4b71Sopenharmony_ci## Example 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci```ts 48e41f4b71Sopenharmony_ci// xxx.ets 49e41f4b71Sopenharmony_ci@Entry 50e41f4b71Sopenharmony_ci@Component 51e41f4b71Sopenharmony_cistruct RowSplitExample { 52e41f4b71Sopenharmony_ci build() { 53e41f4b71Sopenharmony_ci Column() { 54e41f4b71Sopenharmony_ci Text('The second line can be dragged').fontSize(9).fontColor(0xCCCCCC).width('90%') 55e41f4b71Sopenharmony_ci RowSplit() { 56e41f4b71Sopenharmony_ci Text('1').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 57e41f4b71Sopenharmony_ci Text('2').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 58e41f4b71Sopenharmony_ci Text('3').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 59e41f4b71Sopenharmony_ci Text('4').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center) 60e41f4b71Sopenharmony_ci Text('5').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center) 61e41f4b71Sopenharmony_ci } 62e41f4b71Sopenharmony_ci .resizeable(true) // The divider can be dragged. 63e41f4b71Sopenharmony_ci .width('90%').height(100) 64e41f4b71Sopenharmony_ci }.width('100%').margin({ top: 5 }) 65e41f4b71Sopenharmony_ci } 66e41f4b71Sopenharmony_ci} 67e41f4b71Sopenharmony_ci``` 68e41f4b71Sopenharmony_ci 69e41f4b71Sopenharmony_ci 70