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
What I am trying to do:
What works:
What does not work:
What I tried:
My code:
import androidx.compose.foundation.* import androidx.compose.foundation.layout.* import androidx.compose.material.MaterialTheme import androidx.compose.material.TextField import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.unit.IntSize fun main() = Window(title = "Scrollbars", size = IntSize(280, 400)) { MaterialTheme { Box( modifier = Modifier.fillMaxSize() ) { val verticalScrollState = rememberScrollState(0) val horizontalScrollState = rememberScrollState(0) TextField( ("This is a test. ".repeat(5) + "\n").repeat(30), onValueChange = {}, modifier = Modifier .verticalScroll(verticalScrollState) .horizontalScroll(horizontalScrollState) ) VerticalScrollbar( modifier = Modifier .fillMaxHeight() .align(Alignment.CenterEnd), adapter = rememberScrollbarAdapter(verticalScrollState) ) HorizontalScrollbar( modifier = Modifier .fillMaxWidth() .align(Alignment.BottomCenter), adapter = rememberScrollbarAdapter(horizontalScrollState) ) } } }
The text was updated successfully, but these errors were encountered:
Relates to #26?
Sorry, something went wrong.
The issue is no longer present with version 1.0.1 👍
Fix getting latest language on Darwin (JetBrains#521)
Darwin
90a5459
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
igordmn
No branches or pull requests
What I am trying to do:
What works:
What does not work:
What I tried:
My code:
The text was updated successfully, but these errors were encountered: