Join Slack
Powered by
ANyone got an example of a dropdown menu in compos...
# compose-desktop
b
Big Chungus
02/15/2021, 5:11 PM
ANyone got an example of a dropdown menu in compose desktop?
g
gbaldeck
02/15/2021, 5:16 PM
I'm looking for the same thing. I ended up creating my own but it is far from perfect.
b
Big Chungus
02/15/2021, 5:17 PM
Can you share?
g
gbaldeck
02/15/2021, 5:19 PM
Here is the dropdown box:
https://github.com/recursiveg87/Grim-Locations/blob/c2bca006167e67d14efe9370dee305[…]/grimlocations/shared/ui/view/component/DropdownBoxComponent.kt
gbaldeck
02/15/2021, 5:19 PM
And here is where I'm using it:
gbaldeck
02/15/2021, 5:19 PM
https://github.com/recursiveg87/Grim-Locations/blob/c2bca006167e67d14efe9370dee305[…]src/main/kotlin/io/grimlocations/shared/ui/view/LauncherView.kt
gbaldeck
02/15/2021, 5:20 PM
The current issue is that I can't bound the dropdown length
gbaldeck
02/15/2021, 5:20 PM
it causes issues when I try, but if you're ok with that then it works just fine
6
Views
Open in Slack
Previous
Next