```ConstraintLayout( constraintSet = constrain...
# compose
t
Copy code
ConstraintLayout(
    constraintSet = constraints,
    modifier = Modifier
        .fillMaxWidth()
        .height(90.dp)
        .clearAndSetSemantics {
            set(SemanticsProperties.ContentDescription, listOf(contentDescriptionText))
        }
        .clickable(onClick = onClick)
        .border(
            width = 6.dp,
            color = Color.Green,
            shape = RoundedCornerShape(topStart = 6.dp, topEnd = 6.dp, bottomEnd = 6.dp, bottomStart = 6.dp)
        )
) {
Here’s an example, top one is the code posted, bottom one is exact same border modifier on a Box. The Box displays what I would expect.