diff --git a/feature/results/src/main/java/com/android/developers/androidify/customize/AspectRatioTool.kt b/feature/results/src/main/java/com/android/developers/androidify/customize/AspectRatioTool.kt index 150b65cc..d4b81201 100644 --- a/feature/results/src/main/java/com/android/developers/androidify/customize/AspectRatioTool.kt +++ b/feature/results/src/main/java/com/android/developers/androidify/customize/AspectRatioTool.kt @@ -23,6 +23,8 @@ import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.foundation.layout.wrapContentSize +import androidx.compose.foundation.rememberScrollState +import androidx.compose.foundation.verticalScroll import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment @@ -38,10 +40,11 @@ fun AspectRatioTool( selectedOption: SizeOption, onSizeOptionSelected: (SizeOption) -> Unit, modifier: Modifier = Modifier, - singleLine: Boolean = true, + singleLine: Boolean = false, ) { GenericTool( - modifier = modifier.wrapContentSize(), + modifier = modifier.wrapContentSize() + .verticalScroll(rememberScrollState()), tools = sizeOptions, singleLine = singleLine, selectedOption = selectedOption, diff --git a/feature/results/src/main/java/com/android/developers/androidify/customize/BackgroundTool.kt b/feature/results/src/main/java/com/android/developers/androidify/customize/BackgroundTool.kt index bd50a4b8..957d09e5 100644 --- a/feature/results/src/main/java/com/android/developers/androidify/customize/BackgroundTool.kt +++ b/feature/results/src/main/java/com/android/developers/androidify/customize/BackgroundTool.kt @@ -61,7 +61,7 @@ fun BackgroundTool( individualToolContent = { tool -> Box( modifier = Modifier - .aspectRatio(1f) + .size(70.dp) .border( 2.dp, color = MaterialTheme.colorScheme.primary,