How to get webview to go small again!



Hi.

I have GJS app that uses a webkit webview. When I fullscreen the app the webview scales up nicely, but when I unfullscreen, the window remains the fullscreen size(!).

I'm trying all these...

this._window.unfullscreen(); this._window.set_size_request(900,600); this._window.resize(900,600); this._window.resize_children();

but still the webview (I assume) is forcing the too-big size.

Nb. this is a really simple app and the webview is the only thing inside the window.

Thanks,
Rich


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]