Skip to content

Commit

Permalink
Update SplitPaneDSL.kt (#2196)
Browse files Browse the repository at this point in the history
It is look likes mistake in documentation for placements first and second component in the  horizontal pane
  • Loading branch information
artglorin authored Jul 23, 2022
1 parent 9b530c9 commit d803318
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -185,4 +185,4 @@ fun rememberSplitPaneState(
initialPositionPercentage = initialPositionPercentage
)
}
}
}

0 comments on commit d803318

Please sign in to comment.