hi, just wanted to ask - I'm playing around with c...
# compose-desktop
t
hi, just wanted to ask - I'm playing around with compose for desktop. how do I change the size of an element (like a button)?
o
APIs for UI elements like button are the same in CFD and Jetpack Compose
t
I have never used compose of any kind.
I just thought it would be cool to try
s
Use
Modifier.size
t
ok
thanks!
s
There is alot of Jetpack Compose examples out there, I think a good start for you is looking into it and using in Compose For Desktop
☝️ 3
Recommed you to watch this video from Leland:

https://www.youtube.com/watch?v=SMOhl9RK0BA

Here there are examples apps that you can find on github: https://github.com/android/compose-samples
t
thank you very much! I'll be sure to check it out!
r
Also #compose, lots of non-desktop specific questions have already been asked and answered