https://kotlinlang.org logo
#compose
Title
# compose
p

Pablo

02/22/2024, 11:05 AM
Is
Scaffold TopAppBar
height fixed for any reason? If the text/images on it are a little big, the
TopAppBar
doesn't increase its size warping the content height, instead it is fixed and cuts the content. I tried with
modifier = Modifier._wrapContentHeight_()
but it doesn't work.
s

Sean Proctor

02/23/2024, 12:17 AM
Yes, per the spec. https://m3.material.io/components/top-app-bar/specs It's height is 64 DP.
5 Views