Isn't the offset in DP tho? Or am I remembering it...
# compose-desktop
s
Isn't the offset in DP tho? Or am I remembering it wrong?
f
Yes, the offset is in DP - the width of e.g. a Box or Row is in pixels. That was my problem.
💯 1
u
looks like value (inline) classes woulb be a good idea for compose
👍 1
z
Compose uses them extensively already
f
I got it. The with(…) - Function and Int.toDp() solved it