Is there a maxHeight constraint? I could’ve swore ...
# compose
b
Is there a maxHeight constraint? I could’ve swore there was one before, but now I can’t seem to find anything related to max height/width just min.
b
Is this what you’re looking for?
Copy code
Surface(modifier = Modifier.preferredHeightIn(maxHeight = 10.dp)) {
  }
b
yeah I think so! thanks 🙂