HorizontalTwoPaneStrategy

fun HorizontalTwoPaneStrategy(splitFraction: Float, gapWidth: Dp = 0.dp): TwoPaneStrategy

Returns a TwoPaneStrategy that will place the slots horizontally.

The gap will be placed at the given splitFraction from start, with the given gapWidth.


fun HorizontalTwoPaneStrategy(splitOffset: Dp, offsetFromStart: Boolean = true, gapWidth: Dp = 0.dp): TwoPaneStrategy

Returns a TwoPaneStrategy that will place the slots horizontally.

The gap will be placed at splitOffset either from the start or end based on offsetFromStart, with the given gapWidth.