We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to create an option for vertical sliders?
The text was updated successfully, but these errors were encountered:
You can accomplish this with the rotate modifier.
E.g.
AlphaSlider( modifier = Modifier .fillMaxWidth() .height(30.dp) .rotate(90f), controller = controller )
But it might be a little bit messy with how the slider is placed relative to other parts of the UI
Sorry, something went wrong.
FYI for anybody finding this issue, here is a quick workaround to properly display the slider vertically when size is known/fixed:
Box( modifier = Modifier .height(200.dp) .width(50.dp) .clipToBounds() .wrapContentSize(unbounded = true) ) { BrightnessSlider( modifier = Modifier .width(200.dp) .height(50.dp) .rotate(-90f), controller = controller, ) }
No branches or pull requests
Is it possible to create an option for vertical sliders?
The text was updated successfully, but these errors were encountered: