From d80331834c6ef37478c245d259abebfc6b6b3cd9 Mon Sep 17 00:00:00 2001 From: Verminskiy Vladislav Date: Sat, 23 Jul 2022 14:14:07 +0300 Subject: [PATCH] Update SplitPaneDSL.kt (#2196) It is look likes mistake in documentation for placements first and second component in the horizontal pane --- .../kotlin/org/jetbrains/compose/splitpane/SplitPaneDSL.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/SplitPane/library/src/commonMain/kotlin/org/jetbrains/compose/splitpane/SplitPaneDSL.kt b/components/SplitPane/library/src/commonMain/kotlin/org/jetbrains/compose/splitpane/SplitPaneDSL.kt index 5cc3c007ba..ac7f3fbee2 100644 --- a/components/SplitPane/library/src/commonMain/kotlin/org/jetbrains/compose/splitpane/SplitPaneDSL.kt +++ b/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 ) } -} \ No newline at end of file +}