From 12b30bf2f47a80c295dea27c80b9d2ffc41de78a Mon Sep 17 00:00:00 2001 From: Frank McCown Date: Wed, 6 Mar 2024 15:47:18 -0600 Subject: [PATCH] Change GridDemo size to height --- GridDemo/app/src/main/java/com/zybooks/griddemo/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GridDemo/app/src/main/java/com/zybooks/griddemo/MainActivity.kt b/GridDemo/app/src/main/java/com/zybooks/griddemo/MainActivity.kt index dc3958e..ffd31fe 100644 --- a/GridDemo/app/src/main/java/com/zybooks/griddemo/MainActivity.kt +++ b/GridDemo/app/src/main/java/com/zybooks/griddemo/MainActivity.kt @@ -74,7 +74,7 @@ fun VerticalGrid() { ) { items(90) { item -> Card( - modifier = Modifier.size(100.dp).padding(4.dp) + modifier = Modifier.height(100.dp).padding(4.dp) ) { Text("Item $item", Modifier.padding(6.dp)) }