Anyone has idea why `horizontalArrangement` is not...
# compose
f
Anyone has idea why
horizontalArrangement
is not provided in
compose.glance.layout.Row
?
c
Try in #glance I’d say ;-)
s
And it's likely because there's no proper match for arrangements in Remote Views.
f
Apart from
defaultWeight()
, there is no
weight( )
modifier which accepts a value between 0 to 1.
s
Likely also for the same reason.
Also, FYI,
Modifier.weight(Float)
accepts higher numbers than
1f
as well. You can have a
weight(1f)
next to a
weight(2f)
, for instance, which will make the first take of 1/3 of the space and the second take up 2/3 of the space. A little easier than
0.333333...f
. 😉