dimsuz
11/01/2021, 3:07 PMLazyColumn
is not scrollable, it gets cut off. I will post a screenshot in the thread.
Notice that I've added button and it is positioned correctly, so Box constraints are correct. I've added PaddingValues
and now it's obvious that LazyColumn
is not meausred with window's height.
This is 1.0.0-beta5
. Do I do something wrong? Similar code works in Android afaik.
Window(onCloseRequest = { exitApplication() }) {
MaterialTheme {
Box(modifier = Modifier.fillMaxSize()) {
LazyColumn(modifier = Modifier.fillMaxSize(), contentPadding = PaddingValues(30.dp)) {
items(80) { index -> Text("Hello $index") }
}
Button(onClick = {}, modifier = Modifier.align(Alignment.BottomStart)) { Text("Hello") }
}
}
}
dimsuz
11/01/2021, 3:07 PMKirill Grouchnikov
11/01/2021, 3:09 PMdimsuz
11/01/2021, 3:10 PMdimsuz
11/01/2021, 3:12 PMdimsuz
11/01/2021, 3:13 PM