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

Vivek Sharma

02/25/2021, 10:32 AM
I was using
Modifier.size(dp)
, and I tried to change its
size(dp)
again, but it doesnt get change, it fixes size with respect to the first value which we set, is this okay? I dont know, but felt weird and okay at same time
s

Shakil Karim

02/25/2021, 10:39 AM
size is changed to requiredSize
s

Sergey Y.

02/25/2021, 10:59 AM
Size modifiers were renamed. Modifier.width/height/size were renamed to requiredWidth/requiredHeight/requiredSize. Modifier.preferredWidth/preferredHeight/preferredSize were renamed to width/height/size. (I5b414)
v

Vivek Sharma

02/25/2021, 12:56 PM
I updated to beta01, still size() was there, dont know why, anyways thanks
4 Views