Browse Source

Update SplitPaneDSL.kt (#2196)

It is look likes mistake in documentation for placements first and second component in the  horizontal pane
pull/2215/head v1.2.0-alpha01-dev753
Verminskiy Vladislav 2 years ago committed by GitHub
parent
commit
d80331834c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      components/SplitPane/library/src/commonMain/kotlin/org/jetbrains/compose/splitpane/SplitPaneDSL.kt

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

@ -15,7 +15,7 @@ interface SplitPaneScope {
/**
* Set up first composable item if SplitPane, for [HorizontalSplitPane] it will be
* Right part, for [VerticalSplitPane] it will be Top part
* Left part, for [VerticalSplitPane] it will be Top part
* @param minSize a minimal size of composable item.
* For [HorizontalSplitPane] it will be minimal width, for [VerticalSplitPane] it wil be minimal Heights.
* In this context minimal mean that this composable item could not be smaller than specified value.
@ -28,7 +28,7 @@ interface SplitPaneScope {
/**
* Set up second composable item if SplitPane.
* For [HorizontalSplitPane] it will be Left part, for [VerticalSplitPane] it will be Bottom part
* For [HorizontalSplitPane] it will be Right part, for [VerticalSplitPane] it will be Bottom part
* @param minSize a minimal size of composable item.
* For [HorizontalSplitPane] it will be minimal width, for [VerticalSplitPane] it wil be minimal Heights.
* In this context minimal mean that this composable item could not be smaller than specified value.
@ -185,4 +185,4 @@ fun rememberSplitPaneState(
initialPositionPercentage = initialPositionPercentage
)
}
}
}

Loading…
Cancel
Save