Anyone know why the material3 TopAppBar doesn’t co...
# compose
l
Anyone know why the material3 TopAppBar doesn’t constrain height? This wasn’t an issue with material2.
Copy code
TopAppBar(
    title = {
        Box(Modifier.fillMaxSize().aspectRatio(1f).background(Color.Red))
    },
)
I would think this should just display a small square with the height of the app bar