dimsuz
04/07/2022, 2:25 PMalignment value I can do
// alignment = Alignment.Center
val x = alignment.align(myWidth, parentWidth, LayoutDirection.Rtl)
It's a (seemingly) small thing but very nice to not having repeat those boring width/2 - myWidth/2 etc!Stylianos Gakis
04/09/2022, 10:42 AM.align function seems to receive (IntSize, IntSize, LayoutDirection) so I guess either I’m missing some import of you didn’t actually pass myWidth and parentWidth in the first two parameters?dimsuz
04/12/2022, 4:50 PM