Skip to content

Commit f50a84b

Browse files
authored
Fix typo errors in SplitPane.kt (#5200)
This PR addresses typographical errors in the comments of the `splitpane` package. The corrections are as follows: 1. **VerticalSplitPane function comment**: - **Original**: "Pane that place it parts **vertically** from top to bottom and allows to change items **heights**." - **Correction**: "Pane that places its parts **vertically** from top to bottom and allows changing items' **heights**." 2. **HorizontalSplitPane function comment**: - **Original**: "Pane that place it parts **horizontally** from left to right and allows to change items **width**." - **Correction**: "Pane that places its parts **horizontally** from left to right and allows changing items' **widths**." 3. **SplitPane function comment**: - **Original**: "@param isHorizontal describes is it horizontal of vertical split pane" - **Correction**: "@param isHorizontal describes whether it is a horizontal or vertical split pane" These changes enhance the clarity and grammatical accuracy of the code comments. **Fixes** N/A **Testing** As these changes are limited to comments and do not affect the executable code, no additional testing is required. **Release Notes** N/A Since the changes are non-functional and pertain only to code comments, they do not necessitate an entry in the release notes.
1 parent 451c3be commit f50a84b

File tree

1 file changed

+4
-4
lines changed
  • components/SplitPane/library/src/commonMain/kotlin/org/jetbrains/compose/splitpane

1 file changed

+4
-4
lines changed

components/SplitPane/library/src/commonMain/kotlin/org/jetbrains/compose/splitpane/SplitPane.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ internal data class MinimalSizes(
1111
)
1212

1313
/**
14-
* Pane that place it parts **vertically** from top to bottom and allows to change items **heights**.
14+
* Pane that places it parts **vertically** from top to bottom and allows to change items' **heights**.
1515
* The [content] block defines DSL which allow you to configure top ([SplitPaneScope.first]),
1616
* bottom ([SplitPaneScope.second]).
1717
*
@@ -41,7 +41,7 @@ fun VerticalSplitPane(
4141
}
4242

4343
/**
44-
* Pane that place it parts **horizontally** from left to right and allows to change items **width**.
44+
* Pane that places it parts **horizontally** from left to right and allows to change items' **width**.
4545
* The [content] block defines DSL which allow you to configure left ([SplitPaneScope.first]),
4646
* right ([SplitPaneScope.second]) parts of split pane.
4747
*
@@ -74,7 +74,7 @@ fun HorizontalSplitPane(
7474
/**
7575
* Internal implementation of default splitter
7676
*
77-
* @param isHorizontal describes is it horizontal or vertical split pane
77+
* @param isHorizontal describes whether it is a horizontal or vertical split pane
7878
* @param splitPaneState the state object to be used to control or observe the split pane state
7979
*/
8080
@OptIn(ExperimentalSplitPaneApi::class)
@@ -104,4 +104,4 @@ internal expect fun SplitPane(
104104
first: (@Composable () -> Unit)?,
105105
second: (@Composable () -> Unit)?,
106106
splitter: Splitter
107-
)
107+
)

0 commit comments

Comments
 (0)