From 6d916bb4c34075a7f7d8138a9f786920806e1ea2 Mon Sep 17 00:00:00 2001 From: Felipe Martinez Date: Sat, 23 Mar 2024 16:19:45 +0100 Subject: [PATCH] Scroll plugin page --- .../java/net/pipe01/pinepartner/pages/plugins/PluginPage.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/net/pipe01/pinepartner/pages/plugins/PluginPage.kt b/app/src/main/java/net/pipe01/pinepartner/pages/plugins/PluginPage.kt index 2834f3a..1b8ca48 100644 --- a/app/src/main/java/net/pipe01/pinepartner/pages/plugins/PluginPage.kt +++ b/app/src/main/java/net/pipe01/pinepartner/pages/plugins/PluginPage.kt @@ -7,7 +7,9 @@ import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.defaultMinSize import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.text.selection.SelectionContainer +import androidx.compose.foundation.verticalScroll import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Refresh import androidx.compose.material3.Button @@ -141,7 +143,9 @@ private fun Plugin( onSetParameter: (name: String, value: String) -> Unit = { _, _ -> }, ) { Column( - modifier = Modifier.padding(16.dp), + modifier = Modifier + .padding(16.dp) + .verticalScroll(rememberScrollState()), ) { Text( text = plugin.name,