Add copyable id in charactereditsheet
This commit is contained in:
parent
ca5d01c0ca
commit
5a55d38fb2
1 changed files with 14 additions and 4 deletions
|
|
@ -9,6 +9,7 @@ import androidx.compose.foundation.layout.fillMaxWidth
|
|||
import androidx.compose.foundation.layout.offset
|
||||
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.Icon
|
||||
import androidx.compose.material.IconButton
|
||||
|
|
@ -241,11 +242,20 @@ fun CharacterSheetEdit(
|
|||
.padding(all = 16.dp),
|
||||
verticalArrangement = Arrangement.spacedBy(space = 16.dp)
|
||||
) {
|
||||
Text(
|
||||
Row(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
style = MaterialTheme.lwa.typography.base.caption,
|
||||
text = "id : ${form.id.value}"
|
||||
)
|
||||
) {
|
||||
Text(
|
||||
style = MaterialTheme.lwa.typography.base.caption,
|
||||
text = "id : "
|
||||
)
|
||||
SelectionContainer {
|
||||
Text(
|
||||
style = MaterialTheme.lwa.typography.base.caption,
|
||||
text = form.id.value,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
TextFieldWrapper(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue