What is the correct way to accomplish this kind of...
# compose-desktop
c
What is the correct way to accomplish this kind of layout? <Container> <A><Text/></A> <B/> </Container> Where B Takes up a fixed width A Takes up any remaining width Text clips if A is too small to fit all text
f
How about
Copy code
Row {
   A(Modifier.fillMaxWidth()) {
      Text()
   }
   B(Modifier.width(200.dp))
}
If not fillMaxWidth then weight(1f) might work
c
That did the trick! thank you!
You've squashed the bug, you are a hero
f
Lmao, that's pretty basic