If do not set the dialog width (I wanna the dialog width fit its content automatically), the dialog shadow will display incrrectly at the first time, but if close it and then open it again, it works.
I have the same problem with the dialog height. I only set the dialog width, but height auto. When i click the maximize button and restore, then the vertical shadow still stay maximum only when i reopen or resize it.
But the window plugin works correct.