Kshitij Patil
10/27/2020, 6:39 AMColumn(Modifier.fillMaxSize()) {
Text("Dashboard will be here", Modifier.wrapContentSize(Alignment.Center))
}
is not workingColumn(
Modifier.fillMaxSize(),
verticalArrangement = Arrangement.Center,
horizontalAlignment = Alignment.CenterHorizontally
)
worked for me. Let me know if there's any better wayChethan
10/27/2020, 6:46 AMKshitij Patil
10/27/2020, 6:48 AMfillMaxSize()
is a combination of both (width and height)alorma
10/27/2020, 6:49 AMBox
instead of ColumnChethan
10/27/2020, 6:49 AMalorma
10/27/2020, 6:51 AMKshitij Patil
10/27/2020, 6:51 AMBox(
Modifier.fillMaxSize(),
alignment = Alignment.Center
)
works perfect. Thanks!