eygraber
01/10/2025, 4:56 AMsindrenm
01/10/2025, 12:03 PMcontentPadding parameter vs. just providing a Modifier.padding() to the child of the Card.eygraber
01/10/2025, 12:58 PMStylianos Gakis
01/10/2025, 1:41 PMCard in our design system is not wrap the content with a Column for no reason. Just put the items inside a Box with propagateMinConstraints = true and then you have full control over what you want to do in there.
When using m3, just ignore the ColumnScope, and always wrap your items in your own container in which you have control over things like padding etc.
So
Card {
Column(config) {
YourContent()
}
}sindrenm
01/10/2025, 1:49 PMColumn for you is weird. 😅Stylianos Gakis
01/10/2025, 2:06 PMeygraber
01/10/2025, 2:50 PM