File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
alchemist-composeui/src/commonMain/kotlin/it/unibo/alchemist/boundary/composeui Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import androidx.compose.foundation.layout.Arrangement
1414import androidx.compose.foundation.layout.Column
1515import androidx.compose.foundation.layout.fillMaxSize
1616import androidx.compose.foundation.layout.padding
17+ import androidx.compose.foundation.rememberScrollState
18+ import androidx.compose.foundation.verticalScroll
1719import androidx.compose.material3.AlertDialog
1820import androidx.compose.material3.Button
1921import androidx.compose.material3.CardDefaults
@@ -58,7 +60,12 @@ fun app(viewModel: SimulationViewModel = viewModel { SimulationViewModel() }) {
5860 ),
5961 border = BorderStroke (1 .dp, Color .Black ),
6062 ) {
61- Column (verticalArrangement = Arrangement .spacedBy(4 .dp)) {
63+ Column (
64+ verticalArrangement = Arrangement .spacedBy(4 .dp),
65+ modifier = Modifier .verticalScroll(
66+ rememberScrollState(),
67+ ),
68+ ) {
6269 errorDialog(viewModel::fetch, errors)
6370 for (node in nodes) {
6471 nodeDrawer(node.id)
You can’t perform that action at this time.
0 commit comments