myanmarking

    myanmarking

    1 year ago
    what’s the replacement for Modifier.weight in latest version ?
    s

    Se7eN

    1 year ago
    It's still
    Modifier.weight
    myanmarking

    myanmarking

    1 year ago
    hm. don’t compile. I have this layout
    Card( modifier = Modifier .fillMaxWidth(), elevation = 0.dp, ) { Row(verticalAlignment = Alignment.CenterVertically) { CoilImage(...) Column(modifier = Modifier.padding(16.dp)) {.} Icon(...) } }
    i want the column to stretch to fill the remaining space
    like weight = 1
    oh you right, weird. only if i force type it it works
    nvm then. thanks
    s

    Se7eN

    1 year ago
    Yeah that's a bug in AS