How to create a UI that can be moved and scaled.
Hello everyone, I want to create a UI that can be moved and resized by dragging its borders, similar to a system interface. Are there any examples available?
Hey there!
That's a great question, we have some documentation within our developer articles that should hopefully point you in the right direction. If you're using the Meta Spatial SDK, I'd recommend you check out our articles regarding 2D panels. You can also check out our documentation that covers creating custom Jetpack Compose UIs, both of which I can link below.
Let me know if this is what you're looking for, and if not feel free to elaborate and we can look into this further!
2D Panels in Spatial SDK: https://developers.meta.com/horizon/documentation/spatial-sdk/spatial-sdk-2dpanel
Jetpack Compose in panels: https://developers.meta.com/horizon/documentation/spatial-sdk/spatial-sdk-2dpanel-compose
-G