Does anyone know by Text composables wrap this way...
# compose
m
Does anyone know by Text composables wrap this way inside a button? I’m curious if there’s any way to have the text wrap itself and then optimize the width to not occupy all the extra horizontal space.
Copy code
Button(
    onClick = { },
) {
    Text(text = "this is a very long text string, veryverylongadfasfdasfdsaf")
}
r
You'd have to turn on hyphenation
e