Closed sgkouzias closed 2 months ago
your programming writing approach can be easy just look at others code, #15 and get some ideas from official code to.
Your did well .. just guess why you are not getting 4 boxes?
you forgot to add modifier = Modifier.weight(1f)
i also dont know what is it, i have to google it, i guess it like css, just change the no. 1f to 2f or 3f and see effects
Row(modifier = Modifier.weight(1f)) {
ComposableInfoCard(
title = titleUpperRight,
description = textUpperRight,
color = colorUpperRight,
modifier = Modifier.weight(1f) // π just add this line
)
You can read this π you will get some more idea, because they got trouble something like you got
With the code below only the left quadrants appear. I still can't figure out the solution.