CEF3 - Using HTML to resize application

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF3 - Using HTML to resize application

Postby Oegma2 » Wed Mar 13, 2013 6:41 am

Hi

Is is possible to open a window with javascript and define the size in javascript?....looks like the current external app/window is always fixed and yo can not resize the CEF app using HTML or Javascript?

<script>
wind=window.open('','','width=200,height=100')
wind.document.write("<p>This is 'myWindow'</p>")
wind.focus()
</script>
Oegma2
Techie
 
Posts: 36
Joined: Wed Jan 23, 2013 5:07 am

Re: CEF3 - Using HTML to resize application

Postby magreenblatt » Wed Mar 13, 2013 10:13 am

This is supported by CEF1 but not yet implemented in CEF3 (see https://code.google.com/p/chromiumembed ... ail?id=520). You can work around this problem by setting the size in OnBeforePopup.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF3 - Using HTML to resize application

Postby Oegma2 » Wed Mar 13, 2013 7:59 pm

Thx Marshall

Will check out the func OnBeforePopup - will use the url to determine my different popup windows...:)
Oegma2
Techie
 
Posts: 36
Joined: Wed Jan 23, 2013 5:07 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 216 guests