An undecorated Compose for Desktop AlertDialog can...
# compose-desktop
t
An undecorated Compose for Desktop AlertDialog can be dragged around using good old Swing. Will be posting the short piece of code soon, this clip is to wet your appetite. 😂 The white bar at the bottom needs to be investigated, I think it might be a reproducible issue in Compose for Desktop. If so, will open an issue on GitHub
jetpack compose 1
🎉 9
k
Not sure how it is on other platforms, but the expectation on macOS and Windows is to not be able to drag a dialog from "grabbing" it anywhere. It is only expected to happen in the title area.
👍 1
t
Agreed. I will be elaborating on this in my post. Currently this is a fancy hack, by no means sure I want to see this in production. 😀 From a ux point of view there is probably no point in moving an Alert, too. I currently explore possibilities, which is probably the best way to really get to know something, in this case Compose for Desktop
118 Views