https://kotlinlang.org logo
#compose
Title
# compose
t

tylerwilson

12/08/2020, 11:36 AM
Simple question, I think: how can I set the offset of an item as a percentage of the total width. There is a fillMaxWidth that takes a fraction, so something like offsetMaxWidth(0.5) ?
s

Sinan Gunes

12/08/2020, 12:10 PM
maybe add a space before with width relative to max ?
1
t

tylerwilson

12/08/2020, 10:52 PM
Worked like a charm. Thank you!
👍 1
2 Views