diff --git a/FloconDesktop/composeApp/src/commonMain/kotlin/io/github/openflocon/flocondesktop/features/network/mock/edition/view/NetworkEditionWindow.kt b/FloconDesktop/composeApp/src/commonMain/kotlin/io/github/openflocon/flocondesktop/features/network/mock/edition/view/NetworkEditionWindow.kt index ef01e24f6..110e7348c 100644 --- a/FloconDesktop/composeApp/src/commonMain/kotlin/io/github/openflocon/flocondesktop/features/network/mock/edition/view/NetworkEditionWindow.kt +++ b/FloconDesktop/composeApp/src/commonMain/kotlin/io/github/openflocon/flocondesktop/features/network/mock/edition/view/NetworkEditionWindow.kt @@ -406,11 +406,13 @@ fun MockEditorScreen( if(isEditSelected) { FloconTextField( value = bodyResponse.body, - minLines = 10, onValueChange = { newValue -> mock = mock.copy(bodyResponse = bodyResponse.copy(body = newValue)) }, - modifier = Modifier.fillMaxWidth(), + modifier = Modifier + .fillMaxWidth() + .height(400.dp), + singleLine = false, containerColor = FloconTheme.colorPalette.primary ) } else {