Closed mchampaneri closed 4 years ago
Try to run usciter.app and in there load /sdk/samples/dialogs+windows/test-window.htm -> "Custom Frame Window". Will you have same problem with that?
In fact main window of usciter.app is a custom frame window-frame='extended' - uses the same "role" mechanism so you can try just that.
@c-smile
Sir, I go through your example. You have used window type popup.
With window type popup it's working. But, with window type main it's not working. Is that correct behaviour?
If yes, then you can close this issue.
Thanks & Regards, Manish Champaneri
As I said, usciter.app uses custom window frame
It uses chrome role elements, at least:
<window-caption role=window-caption>µSciter</window-caption>
https://github.com/c-smile/sciter-sdk/blob/master/demos/usciter/res/default-osx.htm
Yet, for main window I'd suggest window-frame='extended'
. Among other things it delegates rendering of standard minimize/maximize buttons to OS:
@c-smile
Yes, It works for window-frame extended.
Thanks, Manish
window-frame='solid' is working, it makes window with solid background and no titlebar and no controllers.
But chrome roles of window are not working. I am not able to drag window or close window using the window-role elements.
FYI I am using go-sciter binding