forwarding here for better eyes
# compose-desktop
a
forwarding here for better eyes
u
a
oo this looks interesting, how hard would it be to move over? we have a custom navbar
u
If you've designed your own buttons to draw in the title bar, the migration will give you true native window behavior (like Aero Snap, for example) with real native control buttons, and no, it's very simple.
a
oh awesome thank you
u
I've partially fixed the resizing issue in the JNI backend; the real fix will come in Nucleus 2.0 with a new backend that will no longer be based on AWT, but that might take a little longer.
a
do you know if this will play nicely with hosted windows? im using child windows and stuff
u
Yes, it works, but it's often recommended to use decorated dialogue in this case.
a
gotcha. definitely not suitable for this usecase to use a dialogue but ill keep it in mind
u
Just to be perfectly clear, I'm referring to a Compose Desktop dialog that opens a new window and prevents interaction with the parent window.
Nucleus centers the dialog relative to the parent window, unlike vanilla Compose Desktop.
a
ah, i'm using something to host/parent a game window inside the launcher, its a little hacky but it works mostly!
u
You have nothing to lose by trying the decorated dialogs from Nucleus 🙂
a
would this allow me to lock window aspect ratio or is that not possible?
u
This is an interesting feature; I recommend you open a GitHub issue. I'll probably add it to Nucleus 2.0.
1