feat: make text in the GUI app selectable (Closes #15) #16

Merged
shahondin1624 merged 1 commits from feature/issue-15-make-text-in-the-gui-app-selectable into main 2026-03-17 11:59:16 +01:00

View File

@@ -2,6 +2,7 @@ package de.pfadfinder.songbook.gui
import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.foundation.VerticalScrollbar
import androidx.compose.foundation.text.selection.SelectionContainer
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
@@ -85,6 +86,7 @@ fun App() {
MaterialTheme {
Surface(modifier = Modifier.fillMaxSize()) {
SelectionContainer {
Column(modifier = Modifier.padding(16.dp)) {
// Project directory selection
Text(
@@ -339,6 +341,7 @@ fun App() {
}
}
}
}
enum class MessageType {
INFO, SUCCESS, ERROR