Skip to content

Commit 1c95b23

Browse files
committed
make surface fill window
1 parent 4187acd commit 1c95b23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • demo-common/src/commonMain/kotlin/com/seanproctor/datatable/demo

demo-common/src/commonMain/kotlin/com/seanproctor/datatable/demo/App.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import kotlin.math.min
2020
@OptIn(ExperimentalMaterial3Api::class)
2121
@Composable
2222
fun App(onRowClick: (Int) -> Unit) {
23-
Surface {
23+
Surface(Modifier.fillMaxSize()) {
2424
Column {
2525
var selectedIndex by remember { mutableStateOf(0) }
2626
PrimaryTabRow(

0 commit comments

Comments
 (0)