Skip to content
New issue

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

Vertical Sliders #15

Open
angelkoh opened this issue Feb 20, 2023 · 1 comment
Open

Vertical Sliders #15

angelkoh opened this issue Feb 20, 2023 · 1 comment

Comments

@angelkoh
Copy link

Is it possible to create an option for vertical sliders?

@Tejpbit
Copy link
Contributor

Tejpbit commented Jul 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants