Why does this make the button fill the whole scree...
# compose
c
Why does this make the button fill the whole screen/surface? I have to specify wrapContentWidth/wrapContentHeight for the button. IconButton works fine.
Copy code
Surface(modifier = Modifier.fillMaxSize()) {
    Button(onClick = {}) {}
}
👀 2
a
If you put some content inside the button (say
Text
), will it behave correctly?
c
No, it does not unfortunately.