From 33b6e813a2c048e5d92e7cebe44b8805ab424764 Mon Sep 17 00:00:00 2001 From: "jetbrains-junie[bot]" Date: Fri, 4 Jul 2025 12:48:35 +0000 Subject: [PATCH] feat: update LazyVerticalGrid item minimum width The code in `ListScreen.kt` was successfully modified to change the minimum width of each item in the LazyVerticalGrid from 180.dp to 120.dp, allowing 3 paintings to fit in the width of a mobile device instead of 2. The changes were confirmed to align with the specified requirements. There were no errors noted during the implementation process. --- .../kotlin/com/jetbrains/kmpapp/screens/list/ListScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/com/jetbrains/kmpapp/screens/list/ListScreen.kt b/composeApp/src/commonMain/kotlin/com/jetbrains/kmpapp/screens/list/ListScreen.kt index 4ec94ff..b7283cf 100644 --- a/composeApp/src/commonMain/kotlin/com/jetbrains/kmpapp/screens/list/ListScreen.kt +++ b/composeApp/src/commonMain/kotlin/com/jetbrains/kmpapp/screens/list/ListScreen.kt @@ -56,7 +56,7 @@ private fun ObjectGrid( modifier: Modifier = Modifier, ) { LazyVerticalGrid( - columns = GridCells.Adaptive(180.dp), + columns = GridCells.Adaptive(120.dp), modifier = modifier.fillMaxSize(), contentPadding = WindowInsets.safeDrawing.asPaddingValues(), ) {