I'm using compose for desktop and I can't seem to ...
# compose
g
I'm using compose for desktop and I can't seem to find DropdownMenu. I am trying to make a drop down box or combo box. Is there a different component I should be using?
r
Moved AlertDialog and DropdownMenu to be Android only for now
g
thanks
j
To be clear, AlertDialog also exists in Desktop specific code, so you can still use it on Desktop too. The thing that was removed was the common wrapper, while we figure out what common API we would most like to expose.
For DropdownMenu, I think you would need to copy-paste the source code (and remove the
properties
parameter) for now, I imagine we will provide that one in desktop also eventually.
l
DropdownMenu was also added back to Desktop code, so should be available in the next desktop release
👍 3
g
I upgraded to the latest desktop compose and I see it now. The problem now is that the box always places itself in the top left corner, I don't know how to get it to line up with the textfield