Secondly, using the align modifier inside a Box wi...
# compose
p
Secondly, using the align modifier inside a Box within a Column gives a compiler error:
Copy code
Column {
  Box(Modifier.fillMaxWidth()) {
    Text("Hello", Modifier.fillMaxWidth().align(Alignment.Start))
  }
}
'fun Modifier.align(alignment: Alignment.Horizontal): Modifier' can't be called in this context by implicit receiver. Use the explicit one if necessary It seems it's trying to use the ColumnScope.align, even though BoxScope is more local
150 Views